Refactoring
This commit is contained in:
@@ -64,7 +64,7 @@ def main():
|
||||
average = round(total_words / total_articles) if total_articles > 0 else 0
|
||||
|
||||
try:
|
||||
from render_stats_charts import render_words_per_article, setup_rcparams
|
||||
from lib.render_stats_charts import render_words_per_article, 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