Skip to content

Commit

Permalink
Fix regression in 1ce2c7e
Browse files Browse the repository at this point in the history
  • Loading branch information
clefebvre committed Nov 21, 2024
1 parent 02e2fa2 commit 9ac4fee
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions usr/lib/linuxmint/mintUpdate/mintUpdate.py
Original file line number Diff line number Diff line change
Expand Up @@ -634,7 +634,7 @@ def show_error(self, error_msg):


@_idle
def show_updates_in_UI(self, num_visible, download_size, is_self_update, model_items):
def show_updates_in_UI(self, num_visible, num_software, num_security, download_size, is_self_update, model_items):
if num_visible > 0:
self.logger.write("Found %d software updates" % num_visible)
if is_self_update:
Expand Down Expand Up @@ -2341,7 +2341,7 @@ def show_updates(self, updates):
download_size += update.size

# Updates found, update status message
self.show_updates_in_UI(num_visible, download_size, is_self_update, model_items)
self.show_updates_in_UI(num_visible, num_software, num_security, download_size, is_self_update, model_items)

if FLATPAK_SUPPORT and self.flatpak_updater.error is not None and not is_self_update:
self.logger.write("Could not check for flatpak updates: %s" % self.flatpak_updater.error)
Expand Down

0 comments on commit 9ac4fee

Please sign in to comment.