aboutsummaryrefslogtreecommitdiff
path: root/src/mainwindow.py
diff options
context:
space:
mode:
authortassaron2017-08-14 10:10:32 -0400
committertassaron2017-08-14 10:10:32 -0400
commitbed07479f1b4bf24a0b9c84217d41ebbe880a8fb (patch)
tree7b54d6d322b8b517cf9d461ccdbbc602c26369ab /src/mainwindow.py
parent9c8792df9bad068fed8a9a1777b2774c103c9ce4 (diff)
faster Spectrum preview & custom VERBOSE loglvl
Diffstat (limited to 'src/mainwindow.py')
-rw-r--r--src/mainwindow.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/mainwindow.py b/src/mainwindow.py
index 1abb108..af6e190 100644
--- a/src/mainwindow.py
+++ b/src/mainwindow.py
@@ -44,7 +44,7 @@ class MainWindow(QtWidgets.QMainWindow):
self.window = window
self.core = Core()
log.debug(
- 'Main thread id: {}'.format(QtCore.QThread.currentThreadId()))
+ 'Main thread id: {}'.format(int(QtCore.QThread.currentThreadId())))
# widgets of component settings
self.pages = []
@@ -465,8 +465,8 @@ class MainWindow(QtWidgets.QMainWindow):
and filecmp.cmp(
self.autosavePath, self.currentProject) == identical:
log.debug(
- 'Autosave found %s to be identical' % \
- 'not' if not identical else ''
+ 'Autosave found %s to be identical'
+ % 'not' if not identical else ''
)
return True
except FileNotFoundError: