From be1f574d2fcf26f27704e5ec9d4f881cc1f2915c Mon Sep 17 00:00:00 2001 From: djain08 Date: Sat, 25 Jan 2025 17:33:53 +0530 Subject: [PATCH] fixed arguement passing in upload_image --- mslib/msui/mscolab.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mslib/msui/mscolab.py b/mslib/msui/mscolab.py index 2b959c7d0..3f9e869a4 100644 --- a/mslib/msui/mscolab.py +++ b/mslib/msui/mscolab.py @@ -886,7 +886,7 @@ def on_context_menu(point): self.fetch_profile_image() @verify_user_token - def upload_image(self): + def upload_image(self, _=None): file_name, _ = QFileDialog.getOpenFileName(self.prof_diag, "Open Image", "", "Image (*.png *.gif *.jpg *.jpeg *.bpm)") if file_name: