Skip to content

Commit

Permalink
Merge pull request #650 from aceArt-GmbH/patch-1
Browse files Browse the repository at this point in the history
Update plugin.py to capture time_in_minutes
  • Loading branch information
archisman-panigrahi authored Sep 22, 2024
2 parents 7986e09 + 033c56c commit 1a70cb6
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 1a70cb6

Please sign in to comment.