mirror of
https://github.com/spalencsar/bearhub.git
synced 2026-07-07 08:14:16 +02:00
[snap] fix -> returning success when the user declines the Snap channel change
This commit is contained in:
@@ -274,13 +274,13 @@ class SnapManager(SoftwareManager):
|
||||
if not channel:
|
||||
watcher.show_message(title=self.i18n['snap.action.channel.label'],
|
||||
body=self.i18n['snap.action.channel.error.no_channel'])
|
||||
return True
|
||||
return False
|
||||
|
||||
return ProcessHandler(watcher).handle_simple(snap.refresh_and_stream(app_name=pkg.name,
|
||||
root_password=root_password,
|
||||
channel=channel))[0]
|
||||
except:
|
||||
return True
|
||||
return False
|
||||
|
||||
def _start_category_task(self, task_man: TaskManager):
|
||||
if task_man:
|
||||
|
||||
Reference in New Issue
Block a user