Skip to content

Commit

Permalink
Merge pull request #62 from Kwenta/fix-for-py-39
Browse files Browse the repository at this point in the history
fix error for python 3.9
  • Loading branch information
0x7aF777 authored Oct 30, 2024
2 parents 75711fa + 9bd5e7b commit dba41b8
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions src/scripts/stats.py
Original file line number Diff line number Diff line change
@@ -288,10 +288,7 @@ async def main(config_key):

# Write out JSON data
filename = (
"daily_stats.json"
if config_key == "v2"
else f"daily_stats_{
config_key}.json"
"daily_stats.json" if config_key == "v2" else f"daily_stats_{config_key}.json"
)
df_write.to_json(f"{outdir}/{filename}", orient="records")

0 comments on commit dba41b8

Please sign in to comment.