Explorar o código

[research/lotterysim] minor issue in vesting.py

police %!s(int64=3) %!d(string=hai) anos
pai
achega
a26a995eda
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      script/research/lotterysim/vesting.py

+ 1 - 1
script/research/lotterysim/vesting.py

@@ -41,7 +41,7 @@ with open(VESTING_FILE) as f:
         vesting[keyval[0]] = eval(eval(val))
 
 nodes = len(vesting)
-running_time = int(input("running time (leave it empty to run the whole vesting running time):"))
+running_time = input("running time (leave it empty to run the whole vesting running time):")
 if running_time=='':
     running_time = len(next(iter(vesting.values())))*VESTING_PERIOD
 else: