TODO fix invalid escape sequence in issue_number property

This commit is contained in:
Bryan Bailey
2022-03-20 21:54:57 -04:00
parent 93bb551beb
commit d5db0d8502

View File

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