unused varrible fix

This commit is contained in:
Uriziel 2012-10-19 14:37:25 +02:00
parent 71c583cce3
commit e993b2ef25

View File

@ -446,7 +446,7 @@ class UiManager(object):
return self.__ui.promptFor(prompt)
def formatTime(self, timeInSeconds):
value = round(timeInSeconds)
timeInSeconds = round(timeInSeconds)
weeks = timeInSeconds // 604800
days = (timeInSeconds % 604800) // 86400
hours = (timeInSeconds % 86400) // 3600