run.txt won't be created anymore

This commit is contained in:
Dilan Boskan 2021-07-10 01:16:46 +02:00
parent d754230f37
commit 6bd8fccc1e

View File

@ -135,9 +135,9 @@ class CustomApplication(QtWidgets.QApplication):
theme = self.settings.value('user/theme',
const.DEFAULT_SETTINGS['theme'])
self.themeManager.load_theme(theme)
with open(os.path.join(os.getcwd(), '..', 'startup', 'run.txt'), 'w') as f:
f.write('1')
# with open(os.path.join(os.getcwd(), '..', 'startup', 'run.txt'), 'w') as f:
# f.write('1')
@ staticmethod
def improved_combobox_showPopup(widget: QtWidgets.QComboBox, showPopup: QtWidgets.QComboBox.showPopup):