Spaces:
Configuration error
Configuration error
Update app.py
Browse files
app.py
CHANGED
|
@@ -43,7 +43,7 @@ INSERT = """
|
|
| 43 |
"""
|
| 44 |
|
| 45 |
|
| 46 |
-
connect = sqlite3.connect(
|
| 47 |
cursor = self.connect.cursor()
|
| 48 |
cursor.execute(_TABLE)
|
| 49 |
connect.commit()
|
|
|
|
| 43 |
"""
|
| 44 |
|
| 45 |
|
| 46 |
+
connect = sqlite3.connect("history.db", check_same_thread=False)
|
| 47 |
cursor = self.connect.cursor()
|
| 48 |
cursor.execute(_TABLE)
|
| 49 |
connect.commit()
|