mirror of
https://github.com/dcs-liberation/dcs_liberation.git
synced 2025-11-10 14:22:26 +00:00
prompt window with logs on raised exception; minor UI updates; minor fixes
This commit is contained in:
@@ -1,3 +1,4 @@
|
||||
import logging
|
||||
import typing
|
||||
import pickle
|
||||
import os
|
||||
@@ -56,5 +57,5 @@ def save_game(game) -> bool:
|
||||
shutil.copy(_temporary_save_file(), _save_file())
|
||||
return True
|
||||
except Exception as e:
|
||||
print(e)
|
||||
logging.error(e)
|
||||
return False
|
||||
|
||||
Reference in New Issue
Block a user