TODO fix invalid escape sequence in issue_number property
This commit is contained in:
@@ -70,7 +70,8 @@ class Comic(Scrapable):
|
|||||||
|
|
||||||
@property
|
@property
|
||||||
def issue_number(self) -> int:
|
def issue_number(self) -> int:
|
||||||
# maches any year in parentheses
|
# matches any year in parentheses (xxxx)
|
||||||
|
# TODO yoink/comic.py:74: DeprecationWarning: invalid escape sequence '\('
|
||||||
date_reg = re.search("(\([12]\d{3}\))", self.title)
|
date_reg = re.search("(\([12]\d{3}\))", self.title)
|
||||||
|
|
||||||
try:
|
try:
|
||||||
|
|||||||
Reference in New Issue
Block a user