From a72d76b94ea2a930036625f0bed840c5ab4eb395 Mon Sep 17 00:00:00 2001 From: WorldTeacher <41587052+WorldTeacher@users.noreply.github.com> Date: Wed, 11 Sep 2024 14:48:07 +0200 Subject: [PATCH] bugfix --- src/ui/user.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ui/user.py b/src/ui/user.py index 1f02fad..e28b2be 100644 --- a/src/ui/user.py +++ b/src/ui/user.py @@ -144,7 +144,7 @@ class UserUI(QtWidgets.QMainWindow, Ui_MainWindow): ) print(mode) if self.userMedia == []: - books = self.db.getAllMedia(self.userno) + books = self.db.getAllMedia(self.user_id) for book in books: self.userMedia.append(book) # print(self.userMedia)