Skip to content

Commit

Permalink
Fix handling of unknown output from MPlayer
Browse files Browse the repository at this point in the history
  • Loading branch information
pafcu committed Dec 19, 2010
1 parent c4543fe commit 2389172
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pymplb.py
Expand Up @@ -141,7 +141,7 @@ def cmd(name, argtypes, obligatory, player, *args, **kwargs):
try: try:
argtypes = [cls._arg_types[y] for y in [x.strip('[]') for x in args]] argtypes = [cls._arg_types[y] for y in [x.strip('[]') for x in args]]
except KeyError: # Unknown argument type 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) method = partial(cmd, name, argtypes, obligatory)
if len(args) == 0: if len(args) == 0:
Expand Down

0 comments on commit 2389172

Please sign in to comment.