Skip to content

Commit

Permalink
[werbezapper] prevents possible crash if entering too long numbers
Browse files Browse the repository at this point in the history
thanks @stan
  • Loading branch information
Dima73 authored and WanWizard committed Dec 18, 2024
1 parent e89222f commit a5727b1
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion werbezapper/src/WerbeZapper.py
Original file line number Diff line number Diff line change
Expand Up @@ -304,7 +304,8 @@ def choicesCallback(self, result):
title=_("How many minutes to wait until zapping back?"),
text=num,
maxSize=False,
type=Input.NUMBER
type=Input.NUMBER,
maxValue=1440
)
return

Expand Down

0 comments on commit a5727b1

Please sign in to comment.