Refactoring
This commit is contained in:
@@ -41,7 +41,7 @@ def main():
|
||||
words[weekday] += article.get("wordCount") or 0
|
||||
|
||||
try:
|
||||
from render_stats_charts import render_weekday_activity, setup_rcparams
|
||||
from lib.render_stats_charts import render_weekday_activity, setup_rcparams
|
||||
except ImportError as exc: # noqa: BLE001
|
||||
print(f"Failed to import renderer: {exc}", file=sys.stderr)
|
||||
sys.exit(1)
|
||||
|
||||
Reference in New Issue
Block a user