slackbuilds/desktop/variety/fix-valueerror.patch

12 lines
430 B
Diff

diff -Naur variety-0.6.4.orig/variety/indicator.py variety-0.6.4/variety/indicator.py
--- variety-0.6.4.orig/variety/indicator.py 2017-04-29 07:23:37.000000000 +0200
+++ variety-0.6.4/variety/indicator.py 2017-04-29 13:30:24.341703536 +0200
@@ -33,6 +33,8 @@
use_appindicator = True
except ImportError:
use_appindicator = False
+except ValueError:
+ use_appindicator = False
from variety_lib import varietyconfig