Skip to content

Commit

Permalink
Fix an encoding issue when looking for ImageMagick (#1515)
Browse files Browse the repository at this point in the history
  • Loading branch information
wdyggh committed Aug 24, 2021
1 parent 089ad59 commit 45e428d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion system_check.py
Original file line number Diff line number Diff line change
Expand Up @@ -208,7 +208,7 @@ def get_version_info(executable, env=None):
return None

return re.split(
r'\r?\n', stdout.decode('utf-8').strip(), 1
r'\r?\n', stdout.decode(encoding='utf-8', errors='ignore').strip(), 1
)[0].lstrip('Version: ')
except:
return None
Expand Down

0 comments on commit 45e428d

Please sign in to comment.