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