Skip to content

Commit

Permalink
FIX: correct string decoding for python3 (#127)
Browse files Browse the repository at this point in the history
  • Loading branch information
kmuehlbauer committed Jan 17, 2017
1 parent 35ce99b commit f1916af
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion wradlib/io.py
Original file line number Diff line number Diff line change
Expand Up @@ -1132,7 +1132,7 @@ def read_gamic_scan(scan, scan_type, wanted_moments):
mdata = sg2[...]
dyn_range_max = sg2.attrs.get('dyn_range_max')
dyn_range_min = sg2.attrs.get('dyn_range_min')
bin_format = sg2.attrs.get('format')
bin_format = sg2.attrs.get('format').decode()
if bin_format == 'UV8':
div = 256.0
else:
Expand Down

0 comments on commit f1916af

Please sign in to comment.