Windows special chars not returning any folders

This commit is contained in:
Ruud committed 2014-10-05 13:38:22 +02:00
1 parent f897eebb41
commit ab118ea580
2 files changed
+22 -11

No files matched your search

+2 -2
View File
@@ -41,11 +41,11 @@ def symlink(src, dst):
def getUserDir():
try:
import pwd
os.environ['HOME'] = pwd.getpwuid(os.geteuid()).pw_dir
os.environ['HOME'] = sp(pwd.getpwuid(os.geteuid()).pw_dir)
except:
pass
return os.path.expanduser('~')
return sp(os.path.expanduser('~'))
def getDownloadDir():