-
Committer:
michele-sorcinelli
-
Date:
2013-12-26 21:17:06 UTC
-
Revision ID:
michele.sorcinelli@gmail.com-20131226211706-3bqhmkoybyw6ntr1
Fixed background_darkness bug
Casted opacity from string to float to avoid program crash.
Exception related to the bug: File "/usr/lib/python2.7/site-packages/terminatorlib/terminal.py", line 667, in reconfigure
opacity = int(self.config['background_darkness'] * 65536)
ValueError: invalid literal for int() with base 10: '1.01.01.01.01.01.01.01.01.01.01.01.01.01.01.01.01.01.01.01.01.01.01.01.01.01.01.01.01.01.01.01.01.01.01.01.01.01.01.01.01.01.01.01.01.01.01.01.01.01.01.01.01.01.01.01.01.01.01.01.01.01.01.01.01.01.01.'