From e993b2ef2521363a2fce25a00fe659c5b9b6bc11 Mon Sep 17 00:00:00 2001 From: Uriziel Date: Fri, 19 Oct 2012 14:37:25 +0200 Subject: [PATCH] unused varrible fix --- syncplay/client.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/syncplay/client.py b/syncplay/client.py index 82feaf6..21cd8c4 100644 --- a/syncplay/client.py +++ b/syncplay/client.py @@ -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