Update consoleUI.py - Remove seek warning comment

This commit is contained in:
Etoh 2012-12-27 14:16:20 +00:00
parent 95c9a94112
commit dfe23966f2

View File

@ -60,7 +60,7 @@ class ConsoleUI(threading.Thread):
def _tryAdvancedCommands(self, data): def _tryAdvancedCommands(self, data):
o = re.match(r"^(?:o|offset)\ ?(?P<sign>[+-])?(?P<time>\d+(?:[^\d\.](?:\d+)){0,2}(?:\.(?:\d+))?)$", data) o = re.match(r"^(?:o|offset)\ ?(?P<sign>[+-])?(?P<time>\d+(?:[^\d\.](?:\d+)){0,2}(?:\.(?:\d+))?)$", data)
s = re.match(r"^(?:s|seek)?\ ?(?P<sign>[+-])?(?P<time>\d+(?:[^\d\.](?:\d+)){0,2}(?:\.(?:\d+))?)$", data) #careful! s will match o as well s = re.match(r"^(?:s|seek)?\ ?(?P<sign>[+-])?(?P<time>\d+(?:[^\d\.](?:\d+)){0,2}(?:\.(?:\d+))?)$", data)
if(o): if(o):
sign = self._extractRegexSign(o) sign = self._extractRegexSign(o)
t = utils.parseTime(o.group(2)) t = utils.parseTime(o.group(2))