TODO fix invalid escape sequence in issue_number property

This commit is contained in:
Bryan Bailey
2022-03-20 21:49:58 -04:00
parent 93bb551beb
commit 22624980d7

View File

@@ -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: