diff --git a/dosagelib/scraper.py b/dosagelib/scraper.py index 23f1d2b5c..b0ab299f6 100644 --- a/dosagelib/scraper.py +++ b/dosagelib/scraper.py @@ -34,7 +34,7 @@ ARCHIVE_ORG_URL = re.compile(r'https?://web\.archive\.org/web/[^/]*/') class GeoblockedException(IOError): def __init__(self): - super().__init__(f'It seems your current location is geo-blocked.') + super().__init__('It seems your current location is geo-blocked.') class Scraper(object): diff --git a/setup.cfg b/setup.cfg index 458dcff13..130137251 100644 --- a/setup.cfg +++ b/setup.cfg @@ -60,6 +60,7 @@ dev = flake8-2020;python_version>'3.5' flake8-coding flake8-future-import + flake8-no-fstring flake8-pytest flake8-pytest-style;python_version>'3.5'