diff options
| author | tassaron | 2017-08-14 10:10:32 -0400 |
|---|---|---|
| committer | tassaron | 2017-08-14 10:10:32 -0400 |
| commit | bed07479f1b4bf24a0b9c84217d41ebbe880a8fb (patch) | |
| tree | 7b54d6d322b8b517cf9d461ccdbbc602c26369ab /src/mainwindow.py | |
| parent | 9c8792df9bad068fed8a9a1777b2774c103c9ce4 (diff) | |
faster Spectrum preview & custom VERBOSE loglvl
Diffstat (limited to 'src/mainwindow.py')
| -rw-r--r-- | src/mainwindow.py | 6 |
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: |
