Update bbsdb_admin.py

This commit is contained in:
SpudGunMan
2024-07-20 01:06:31 -07:00
parent 02a06dfced
commit 637721022e
+2 -2
View File
@@ -4,13 +4,13 @@ import pickle # pip install pickle
# load the bbs messages from the database file
try:
with open('bbsdb.pkl', 'rb') as f:
with open('../bbsdb.pkl', 'rb') as f:
bbs_messages = pickle.load(f)
except:
print ("\nSystem: bbsdb.pkl not found")
try:
with open('bbsdm.pkl', 'rb') as f:
with open('../bbsdm.pkl', 'rb') as f:
bbs_dm = pickle.load(f)
except:
print ("\nSystem: bbsdm.pkl not found")