diff --git a/src/dao.py b/src/dao.py index 324a877..1e0bc2b 100644 --- a/src/dao.py +++ b/src/dao.py @@ -63,11 +63,11 @@ def get_user_menu() -> str: row = cursor.fetchone() if row: return row[0] - else: - cursor.execute("select menu from user_menu where user = ? order by datestr desc limit 1", (user,)) - row = cursor.fetchone() - if row: - return row[0] + # else: + # cursor.execute("select menu from user_menu where user = ? order by datestr desc limit 1", (user,)) + # row = cursor.fetchone() + # if row: + # return row[0] return '' finally: cursor.close()