Skip to content

Commit 45e428d

Browse files
authored
Fix an encoding issue when looking for ImageMagick (#1515)
1 parent 089ad59 commit 45e428d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

system_check.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -208,7 +208,7 @@ def get_version_info(executable, env=None):
208208
return None
209209

210210
return re.split(
211-
r'\r?\n', stdout.decode('utf-8').strip(), 1
211+
r'\r?\n', stdout.decode(encoding='utf-8', errors='ignore').strip(), 1
212212
)[0].lstrip('Version: ')
213213
except:
214214
return None

0 commit comments

Comments
 (0)