actions: provide `<bantime>` as integer value (for actions expecting timeout parameters)

pull/2302/head
sebres 2019-05-28 10:12:24 +02:00
parent c024c93ec6
commit ca49f2c71c
1 changed files with 1 additions and 1 deletions

View File

@ -371,7 +371,7 @@ class Actions(JailThread, Mapping):
def _getBanTime(self):
btime = self.__ticket.getBanTime()
if btime is None: btime = self.__jail.actions.getBanTime()
return btime
return int(btime)
def _mi4ip(self, overalljails=False):
"""Gets bans merged once, a helper for lambda(s), prevents stop of executing action by any exception inside.