Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 120539a commit d5db218Copy full SHA for d5db218
mainWindow.py
@@ -335,8 +335,11 @@ def settings_temp_ITC_PIDFile_send(self):
335
settings.setValue('ITC_PIDFile', self.window_settings.temp_ITC_PIDFile)
336
del settings
337
338
- with open(self.window_settings.temp_ITC_PIDFile) as f:
339
- self.window_settings.textConfShow.setText(f.read())
+ try:
+ with open(self.window_settings.temp_ITC_PIDFile) as f:
340
+ self.window_settings.textConfShow.setText(f.read())
341
+ except OSError as e:
342
+ self.show_error_general(f'mainthread: settings PIDFile: OSError {e}')
343
344
# ------- plotting
345
def connectdb(self, dbname):
0 commit comments