Refactoring
This commit is contained in:
@@ -48,7 +48,7 @@ def main():
|
||||
values = [counts[y] for y in sorted_years]
|
||||
|
||||
try:
|
||||
from render_stats_charts import render_articles_per_year, setup_rcparams
|
||||
from lib.render_stats_charts import render_articles_per_year, 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