summaryrefslogtreecommitdiff
path: root/database.py
diff options
context:
space:
mode:
authoryuzu-eva <cafebabe@disroot.org>2025-03-12 00:50:54 +0100
committeryuzu-eva <cafebabe@disroot.org>2025-03-12 00:50:54 +0100
commit50b26ac9bb1c9b1eaa9f88a9a23303deddb60a46 (patch)
tree953864fa02d10474fbd2c98ca502d572a9a742d8 /database.py
parentf283598c5a6203c11130cc6aacc1a60da21bd0d2 (diff)
fixed markdown issue in get_headers()
Diffstat (limited to 'database.py')
-rwxr-xr-xdatabase.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/database.py b/database.py
index 61c2947..34945a0 100755
--- a/database.py
+++ b/database.py
@@ -18,7 +18,7 @@ class Database:
def get_header_links(self):
cursor = self.__connection.cursor()
- cursor.execute("SELECT name, link FROM headerLinks;")
+ cursor.execute("SELECT name, link FROM headerLinks ORDER BY name;")
return cursor.fetchall()
def get_image(self, imageName):