summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--cutter/cue.py7
1 files changed, 3 insertions, 4 deletions
diff --git a/cutter/cue.py b/cutter/cue.py
index 2e5c619..442d7a3 100644
--- a/cutter/cue.py
+++ b/cutter/cue.py
@@ -256,11 +256,10 @@ class CueParser:
if self.track._indexes:
raise InvalidCommand("must appear before any INDEX commands")
- def parse_rem(self, opt, value = None, *args):
+ def parse_rem(self, opt, *args):
cmd = opt.lower()
- if value and cmd in self.rem_commands:
- if len(args):
- raise InvalidCommand("extra arguments for '%s'" % opt)
+ if len(args) and cmd in self.rem_commands:
+ value = " ".join(args)
self.set_attr(cmd, value, obj = self.cue)
def parse_skip(self, *args):