Browse Source

Fix rename variable error

JoostSijm 5 years ago
parent
commit
dfa5dcac16
1 changed files with 1 additions and 1 deletions
  1. 1 1
      hvs/__main__.py

+ 1 - 1
hvs/__main__.py

@@ -23,7 +23,7 @@ def job_check_resources(state_id, capital_id, resource_id):
         print('refill resource: {} at {} ({} minutes)'.format(
             resource_id,
             scheduled_date,
-            round(random_time.seconds / 60)
+            round(random_time_delta.seconds / 60)
         ))
         job = scheduler.get_job(job_id)
         if not job: