Skip to content

Commit

Permalink
Merge pull request #23 from guiguid/patch-1
Browse files Browse the repository at this point in the history
Fix utf8 error
  • Loading branch information
MarkHedleyJones committed Oct 14, 2015
2 parents f6c3935 + 80b110c commit 56b9f6f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dmenu_extended.py
Expand Up @@ -548,7 +548,7 @@ def scan_applications(self):
pathname = os.path.join(app_path,filename)
if os.path.isfile(pathname):
# Open the application file using the system's preferred encoding (probably utf-8)
with codecs.open(pathname,'r',encoding=system_encoding) as f:
with codecs.open(pathname,'r',encoding=system_encoding, errors='ignore') as f:
name = None
command = None
terminal = None
Expand Down

0 comments on commit 56b9f6f

Please sign in to comment.