mirror of
https://github.com/codex-storage/deluge.git
synced 2025-01-27 11:45:44 +00:00
[#2922] Fix session.apply_sessings alert_mask
This commit is contained in:
parent
e31acfc31c
commit
0890cc1a33
@ -47,7 +47,7 @@ class AlertManager(component.Component):
|
||||
lt.alert.category_t.performance_warning)
|
||||
|
||||
try:
|
||||
self.session.apply_settings('alert_mask', alert_mask)
|
||||
self.session.apply_settings({'alert_mask': alert_mask})
|
||||
except AttributeError:
|
||||
self.session.set_alert_mask(alert_mask)
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user