Fix parsing info

This commit is contained in:
taizan-hokouto
2020-11-03 15:44:44 +09:00
parent a37602e666
commit 5eb8bdbd0e
3 changed files with 29 additions and 9 deletions

View File

@@ -76,6 +76,6 @@ class PatternUnmatchError(VideoInfoParseError):
'''
Thrown when failed to parse video info with unmatched pattern.
'''
def __init__(self, doc):
def __init__(self, doc=''):
self.msg = "PatternUnmatchError"
self.doc = doc