Permalink
Browse files

Fix handling of unknown output from MPlayer

  • Loading branch information...
1 parent c4543fe commit 238917272552f14d459a29dc612df25822e16aaa @pafcu committed Dec 19, 2010
Showing with 1 addition and 1 deletion.
  1. +1 −1 pymplb.py
View
@@ -141,7 +141,7 @@ def cmd(name, argtypes, obligatory, player, *args, **kwargs):
try:
argtypes = [cls._arg_types[y] for y in [x.strip('[]') for x in args]]
except KeyError: # Unknown argument type
- pass # Some garbage on the output (version?)
+ continue # Some garbage on the output (version?)
method = partial(cmd, name, argtypes, obligatory)
if len(args) == 0:

0 comments on commit 2389172

Please sign in to comment.