Skip to content

Commit

Permalink
typecast issue
Browse files Browse the repository at this point in the history
  • Loading branch information
michael committed Mar 20, 2016
1 parent 057eed4 commit 58266c0
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions converter/avcodecs.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,11 +29,11 @@ def safe_options(self, opts):
for k, v in opts.items():
if k in self.encoder_options:
typ = self.encoder_options[k]
try:
safe[k] = typ(v)
except:
pass

if typ:
try:
safe[k] = typ(v)
except:
pass
return safe


Expand Down

0 comments on commit 58266c0

Please sign in to comment.