From 72686a8328eb1f48548df1707bb9aa73ada76636 Mon Sep 17 00:00:00 2001 From: Etoh Date: Sat, 8 Jun 2013 18:48:50 +0200 Subject: [PATCH] Hacky fix to hacky offset code --- syncplay/ui/gui.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/syncplay/ui/gui.py b/syncplay/ui/gui.py index b0fd79a..a24c15f 100644 --- a/syncplay/ui/gui.py +++ b/syncplay/ui/gui.py @@ -95,7 +95,7 @@ class MainDialog(QtGui.QDialog): "Offset (+/-):", QtGui.QLineEdit.Normal, "") if ok and newoffset != '': - o = re.match(constants.UI_OFFSET_REGEX, newoffset) + o = re.match(constants.UI_OFFSET_REGEX, "o " + newoffset) if(o): sign = self._extractSign(o.group('sign')) t = utils.parseTime(o.group('time'))