don't convert to system encoding prior to converting to utf8

This commit is contained in:
Damien Elmes 2009-01-05 06:40:08 +09:00
parent 9c226d5b4f
commit 8750b9bbbb

View file

@ -1772,9 +1772,6 @@ class DeckStorage(object):
if path is None:
sqlpath = None
else:
# ensure unicode & abspath
if isinstance(path, types.UnicodeType):
path = path.encode(sys.getfilesystemencoding())
path = os.path.abspath(path)
# check if we need to init
if os.path.exists(path):