swapping out parser.error() calls with custom OptionsError exceptions
This commit is contained in:
parent
eecd5c4adb
commit
9d37d0375e
@ -241,6 +241,9 @@ from .extractor import gen_extractors
|
||||
from .YoutubeDL import YoutubeDL
|
||||
from .PostProcessor import *
|
||||
|
||||
class OptionsError(Exception):
|
||||
pass
|
||||
|
||||
def parseOpts(overrideArguments=None):
|
||||
def _readOptions(filename_bytes):
|
||||
try:
|
||||
|
Loading…
x
Reference in New Issue
Block a user