Commit 2beebd9b authored by Vitezslav Humpa's avatar Vitezslav Humpa
Browse files

sniff: add fallback load for dogtail-head icon location

parent 99e8c58e
Pipeline #3398984 passed with stages
in 18 minutes and 47 seconds
......@@ -62,7 +62,10 @@ class SniffApp(object):
os.path.join(__file__, os.path.pardir, os.path.pardir))
if path is '/':
path = '/usr', 'share/icons/hicolor/scalable/apps/dogtail-head.svg'))
try:, 'share/icons/hicolor/scalable/apps/dogtail-head.svg'))
except Exception: # fallback for wierd installations, when sniff is neither in /bin or /usr/bin'/usr/share/icons/hicolor/scalable/apps/dogtail-head.svg')
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment