Commit dee35d14 authored by Dan Pascu's avatar Dan Pascu

Fixed some PEP-8 violations

parent 960a4242
...@@ -7,6 +7,7 @@ import sys ...@@ -7,6 +7,7 @@ import sys
def except_hook(exception_type, exception_value, traceback): def except_hook(exception_type, exception_value, traceback):
sys.__excepthook__(exception_type, exception_value, traceback) sys.__excepthook__(exception_type, exception_value, traceback)
sys.excepthook = except_hook # pyqt5 (>=5.5) will abort if an exception happens in python code when called from Qt, unless we define this sys.excepthook = except_hook # pyqt5 (>=5.5) will abort if an exception happens in python code when called from Qt, unless we define this
...@@ -27,7 +28,6 @@ if os.path.basename(script_dir) == 'bin' and os.path.exists(os.path.join(parent_ ...@@ -27,7 +28,6 @@ if os.path.basename(script_dir) == 'bin' and os.path.exists(os.path.join(parent_
position = 0 position = 0
sys.path.insert(position, parent_dir) sys.path.insert(position, parent_dir)
if frozen: if frozen:
from StringIO import StringIO from StringIO import StringIO
...@@ -68,4 +68,3 @@ if __name__ == '__main__': ...@@ -68,4 +68,3 @@ if __name__ == '__main__':
blink = Blink() blink = Blink()
blink.run() blink.run()
os._exit(0) os._exit(0)
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