Browse Source

fix syntax fail...

Natenom/support-murmur-13-1446181288462
Michael Ziegler 15 years ago
parent
commit
13750dc29e
  1. 2
      pyweb/mucli.py

2
pyweb/mucli.py

@ -110,7 +110,7 @@ if options.encoding is None:
try: try:
locale = os.environ['LANG'] locale = os.environ['LANG']
_, options.encoding = locale.split('.') _, options.encoding = locale.split('.')
except KeyError, ValueError:
except (KeyError, ValueError):
options.encoding = "UTF-8" options.encoding = "UTF-8"

Loading…
Cancel
Save