diff options
| author | yuzu-eva <cafebabe@disroot.org> | 2025-05-28 19:56:04 +0200 |
|---|---|---|
| committer | yuzu-eva <cafebabe@disroot.org> | 2025-05-28 19:56:04 +0200 |
| commit | 869f593e3d0a195f47491849410029921820c22e (patch) | |
| tree | effb86db66115298bbf04065e132002dfca30030 | |
| parent | 1802a4e919883b29af29b7840b6235baa818dc33 (diff) | |
| -rwxr-xr-x | database.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/database.py b/database.py index 34945a0..98d9564 100755 --- a/database.py +++ b/database.py @@ -73,7 +73,7 @@ class Database: INSERT INTO thoughts (category_id, title, markdown_text, datetime) VALUES (( SELECT id FROM categories WHERE name = ? - ), ?, ?, datetime('now', 'localtime'));""", (category, title, markdown)) + ), ?, ?, datetime('now'));""", (category, title, markdown)) def update_thought_markdown(self, id_, markdown): cursor = self.__connection.cursor() |
