offset 0 is now valid time

This commit is contained in:
Uriziel 2012-12-24 19:36:43 +01:00
parent 9429e27b19
commit 5d642ad6d6

View File

@ -64,7 +64,7 @@ class ConsoleUI(threading.Thread):
if(o):
sign = self._extractRegexSign(o)
t = utils.parseTime(o.group(2))
if(not t):
if(t is None):
return
if(sign):
t = self._syncplayClient.getUserOffset() + sign * t