diff options
-rw-r--r-- | wqflask/wqflask/docs.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/wqflask/wqflask/docs.py b/wqflask/wqflask/docs.py index 5065135b..c0a07ae2 100644 --- a/wqflask/wqflask/docs.py +++ b/wqflask/wqflask/docs.py @@ -34,7 +34,8 @@ def update_text(start_vars): try: if g.user_session.record.get('user_email_address') in ["zachary.a.sloan@gmail.com", "labwilliams@gmail.com"]: with database_connection() as conn, conn.cursor() as cursor: - cursor.execute("UPDATE Docs SET content=%s WHERE entry=%s", + # Disable updates fully - all docs should be in markdown - please move them there, just like the Environments doc + cursor.execute("UPDATEX Docs SET content=%s WHERE entry=%s", (content, start_vars.get("entry_type"),)) except: pass |