Skip to content

Commit

Permalink
Update plugin.py to capture time_in_minutes
Browse files Browse the repository at this point in the history
  • Loading branch information
aceArt-GmbH authored Sep 18, 2024
1 parent 982c6c8 commit 033c56c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion safeeyes/plugins/trayicon/plugin.py
Original file line number Diff line number Diff line change
Expand Up @@ -514,7 +514,7 @@ def get_items(self):
disable_items.append({
'id': disable_option_dynamic_id,
'label': label,
'callback': lambda: self.on_disable_clicked(time_in_minutes),
'callback': lambda time_in_minutes=time_in_minutes: self.on_disable_clicked(time_in_minutes),
})

disable_option_dynamic_id += 1
Expand Down

0 comments on commit 033c56c

Please sign in to comment.