Merge pull request #139 from Maxime-J/master
Localized Desktop folder fix
This commit is contained in:
commit
5b17526d97
@ -181,7 +181,7 @@ class pluginclass( object ):
|
|||||||
from configobj import ConfigObj
|
from configobj import ConfigObj
|
||||||
config = ConfigObj(home + "/.config/user-dirs.dirs")
|
config = ConfigObj(home + "/.config/user-dirs.dirs")
|
||||||
tmpdesktopDir = config['XDG_DESKTOP_DIR']
|
tmpdesktopDir = config['XDG_DESKTOP_DIR']
|
||||||
if os.path.exists(tmpdesktopDir):
|
if os.path.exists(os.path.expandvars(tmpdesktopDir)):
|
||||||
desktopDir = tmpdesktopDir
|
desktopDir = tmpdesktopDir
|
||||||
except Exception, detail:
|
except Exception, detail:
|
||||||
print detail
|
print detail
|
||||||
|
Loading…
Reference in New Issue
Block a user