Skip to content

Commit 4573941

Browse files
committed
Remove code that prevented multiple instances
1 parent aa5b843 commit 4573941

File tree

4 files changed

+3
-7
lines changed

4 files changed

+3
-7
lines changed

.vs/MathCATForPython/v17/.suo

26.5 KB
Binary file not shown.

.vs/ProjectSettings.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
{
2+
"CurrentProjectSetting": null
3+
}

.vs/slnx.sqlite

96 KB
Binary file not shown.

NVDA-addon/addon/globalPlugins/MathCAT/MathCATPreferences.py

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@
44
import os
55
import sys
66
import webbrowser
7-
from tendo import singleton
87
import gettext
98
_ = gettext.gettext
109

@@ -173,12 +172,6 @@ def MathCATPreferencesDialogOnCharHook(self,event):
173172
UserInterface.OnClickOK(self,event)
174173
event.Skip()
175174

176-
#if there is already an instance of MathCATPreferences running then terminate
177-
try:
178-
me = singleton.SingleInstance() # will sys.exit(-1) if other instance is running
179-
except:
180-
os.sys.exit(-2)
181-
182175
app = wx.App(False)
183176
#get the default preferences (we don't write to this file)
184177
load_default_preferences()

0 commit comments

Comments
 (0)