Procházet zdrojové kódy

Correcting wrong year conversion

Andrej před 2 roky
rodič
revize
7197c5d86f
1 změnil soubory, kde provedl 1 přidání a 1 odebrání
  1. 1 1
      pythonScripts/runSolver.py

+ 1 - 1
pythonScripts/runSolver.py

@@ -57,7 +57,7 @@ def convertUnit(tUnit):
    if tUnit=='month':
       return 24*60*30
    if tUnit=='year':
-      return 24*60*30*365
+      return 24*60*365
    return 1
 
 def getStrides(setup):