Update hongik/engine_ai.py
Browse files- hongik/engine_ai.py +1 -1
hongik/engine_ai.py
CHANGED
|
@@ -36,7 +36,7 @@ class BaseEngine:
|
|
| 36 |
def __init__(self, katrain, config):
|
| 37 |
self.katrain, self.config = katrain, config
|
| 38 |
def on_error(self, message, code=None, allow_popup=True):
|
| 39 |
-
print(f"ERROR: {message}"
|
| 40 |
if allow_popup and hasattr(self.katrain, "engine_recovery_popup"):
|
| 41 |
Clock.schedule_once(lambda dt: self.katrain("engine_recovery_popup", message, code))
|
| 42 |
|
|
|
|
| 36 |
def __init__(self, katrain, config):
|
| 37 |
self.katrain, self.config = katrain, config
|
| 38 |
def on_error(self, message, code=None, allow_popup=True):
|
| 39 |
+
print(f"ERROR: {message}")
|
| 40 |
if allow_popup and hasattr(self.katrain, "engine_recovery_popup"):
|
| 41 |
Clock.schedule_once(lambda dt: self.katrain("engine_recovery_popup", message, code))
|
| 42 |
|