Skip to content

Commit

Permalink
fix: kudos log display now 2 digits after the decimal point
Browse files Browse the repository at this point in the history
  • Loading branch information
tazlin committed Oct 3, 2023
1 parent 525a047 commit 5488e17
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion horde_worker_regen/process_management/process_manager.py
Original file line number Diff line number Diff line change
Expand Up @@ -1329,7 +1329,7 @@ async def api_get_user_info(self) -> None:
# print kudos this session and kudos per hour based on self.session_start_time
kudos_per_hour = self.kudos_generated_this_session / (time.time() - self.session_start_time) * 3600
logger.info(
f"Kudos this session: {self.kudos_generated_this_session} ~{kudos_per_hour:.2f} kudos/hour)",
f"Kudos this session: {self.kudos_generated_this_session:.2f} ~{kudos_per_hour:.2f} kudos/hour)",
)
logger.info(f"Worker Kudos Accumulated: {self.user_info.kudos_details.accumulated }")

Expand Down

0 comments on commit 5488e17

Please sign in to comment.