add debug if xdg is not installed
This commit is contained in:
parent
dad470216a
commit
b15c4f2f86
1 changed files with 1 additions and 1 deletions
|
|
@ -73,7 +73,7 @@ class Backend(object):
|
||||||
try:
|
try:
|
||||||
import xdg.IconTheme
|
import xdg.IconTheme
|
||||||
except ImportError:
|
except ImportError:
|
||||||
pass
|
debug(u'Python xdg module was not found. Please install it to read icon files.')
|
||||||
else:
|
else:
|
||||||
self.klass.ICON = xdg.IconTheme.getIconPath(self.klass.NAME)
|
self.klass.ICON = xdg.IconTheme.getIconPath(self.klass.NAME)
|
||||||
return self.klass.ICON
|
return self.klass.ICON
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue