mirror of
https://git.deluge-torrent.org/deluge
synced 2025-04-20 19:44:52 +00:00
[#2922] Fix session.apply_sessings alert_mask
This commit is contained in:
parent
e31acfc31c
commit
0890cc1a33
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Reference in a new issue