Skip to content

Commit

Permalink
and make it python 3.6 clean
Browse files Browse the repository at this point in the history
  • Loading branch information
happycube committed Jun 1, 2020
1 parent f751353 commit e3caf94
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lddecode/core.py
Original file line number Diff line number Diff line change
Expand Up @@ -2572,7 +2572,8 @@ def __init__(self, fname_in, fname_out, freader, analog_audio = 0, digital_audio
self.frameNumber = None

self.autoMTF = True
self.useAGC = extra_options.get('useAGC', default = True)
# Python 3.6 doesn't support .get with default=
self.useAGC = extra_options['useAGC'] if 'useAGC' in extra_options else True

self.verboseVITS = False

Expand Down

0 comments on commit e3caf94

Please sign in to comment.