diff --git a/scripts/filetools.py b/scripts/filetools.py index 7564303..8802d76 100644 --- a/scripts/filetools.py +++ b/scripts/filetools.py @@ -4,7 +4,7 @@ import os __dirname__ = os.path.abspath(os.path.dirname(__file__)) + def workspace_path(*other): return os.path.join(os.path.dirname(__dirname__), *other) - diff --git a/scripts/update.py b/scripts/update.py index 0297a5e..748cb08 100644 --- a/scripts/update.py +++ b/scripts/update.py @@ -31,8 +31,6 @@ class ChinaTimezone(tzinfo): return timedelta() - - def update_data(year: int) -> Iterator[str]: """Update and store data for a year."""