Skip to content

Commit 33a9f27

Browse files
author
Conner Saeli
committed
Added UTF-8 back for py2 version of code
1 parent 48ab32e commit 33a9f27

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/supremm/supremmconf.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ def getoptions():
3737
if opt[0] in ("-c", "--config"):
3838
retdata['config'] = opt[1]
3939
if opt[0] in ("-s", "--section"):
40-
retdata['section'] = opt[1]
40+
retdata['section'] = opt[1].encode("utf-8")
4141
if opt[0] in ("-i", "--item"):
4242
retdata['item'] = opt[1]
4343
if opt[0] in ("-h", "--help"):

0 commit comments

Comments
 (0)