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 25daaba commit 0c7122bCopy full SHA for 0c7122b
main.py
@@ -74,6 +74,8 @@
74
LOADING_SCREENS = []
75
LOADING_GIF = os.path.join(os.path.dirname(__file__), "data", "Loading.gif")
76
77
+DATABASE = os.path.join(os.path.dirname(__file__), "res", "services.db")
78
+
79
LeastWaitTime = 0.5 # in second(min time for loading)
80
81
@@ -212,7 +214,7 @@ def sqlite3_run(self, *sqlite_query):
212
214
"""
213
215
output = []
216
try:
- sqliteConnection = sqlite3.connect("services.db")
217
+ sqliteConnection = sqlite3.connect(DATABASE)
218
cursor = sqliteConnection.cursor()
219
for arguments in sqlite_query:
220
if isinstance(arguments, (list, tuple)):
0 commit comments