Skip to content
This repository has been archived by the owner on Jun 10, 2023. It is now read-only.

Commit

Permalink
cron execution now shows the actual time rather than the function
Browse files Browse the repository at this point in the history
  • Loading branch information
RealistikDash committed Oct 13, 2020
1 parent 7382189 commit b583039
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cron/cron.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ async def run_cron():
logging.debug(traceback.format_exc())
# So we dont gett 32846238746238ms or 0.0s
t_str = time_str(t)
logging.info(lang.info("CRON_FINISH", job.__name__, time_str))
logging.info(lang.info("CRON_FINISH", job.__name__, t_str))

# Don't copy paste code now watch me not follow my own advice. If I have to use this somewhere else, I will move this to timehelper.
t_str = time_str(total_t)
Expand Down

0 comments on commit b583039

Please sign in to comment.