diff options
Diffstat (limited to 'libpathod/rparse.py')
-rw-r--r-- | libpathod/rparse.py | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/libpathod/rparse.py b/libpathod/rparse.py index 8b19a1d2..ab657974 100644 --- a/libpathod/rparse.py +++ b/libpathod/rparse.py @@ -413,20 +413,20 @@ class Method: class PauseAt: - def __init__(self, seconds, offset): - self.seconds, self.offset = seconds, offset + def __init__(self, offset, seconds): + self.offset, self.seconds = offset, seconds @classmethod def expr(klass): e = pp.Literal("p").suppress() + e += Offset + e += pp.Literal(",").suppress() e += pp.MatchFirst( [ v_integer, pp.Literal("f") ] ) - e += pp.Literal(",").suppress() - e += Offset return e.setParseAction(lambda x: klass(*x)) def accept(self, settings, r): |