You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
# flash(_(f"Library Refresh: Ingest process complete. New books ingested."), category="cwa_refresh")
92
-
ifreturn_code==2:
93
-
flash(_("Library Refresh: The book ingest service is already running, please wait until it has finished before trying again."), category="cwa_refresh")
94
-
elifreturn_code==0:
95
-
flash(_("Library Refresh: Library refreshed & ingest process complete."), category="cwa_refresh")
96
-
else:
97
-
flash(_("Library Refresh: An unexpected error occurred, check the logs."), category="cwa_refresh")
115
+
print("[library-refresh] Library refresh manually triggered by user...", flush=True)
116
+
app=current_app._get_current_object() # Get actual app instance
message=f"⚡🚨 CWA UPDATE AVAILABLE! 🚨⚡ Current - {current_version} | Newest - {tag_name} | To update, just re-pull the image! This message will only display once per day"
150
+
message=f"⚡🚨 CWA UPDATE AVAILABLE! 🚨⚡ Current - {current_version} | Newest - {tag_name} | To update, just re-pull the image! This message will only display once per day |"
0 commit comments