Skip to content

Commit

Permalink
fixed arguement passing in upload_image
Browse files Browse the repository at this point in the history
  • Loading branch information
djain08 committed Jan 25, 2025
1 parent 50f6425 commit be1f574
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mslib/msui/mscolab.py
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit be1f574

Please sign in to comment.