aboutsummaryrefslogtreecommitdiff
path: root/src/mainwindow.py
diff options
context:
space:
mode:
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: