No undo redo for project api

This commit is contained in:
wqy
2022-09-03 00:32:30 +08:00
parent 069e49430e
commit 3eb7aa5a46

View File

@@ -1,6 +1,8 @@
import psycopg as pg
from connection import g_conn_dict as conn
# no undo/redo
def have_project(name: str) -> bool:
with pg.connect(conninfo="dbname=postgres", autocommit=True) as conn:
with conn.cursor() as cur: