One more update related to the #5381

This commit is contained in:
Miroslav Stampar
2023-04-05 10:31:17 +02:00
parent c2bac51c4f
commit 4efb3ea840
4 changed files with 22 additions and 22 deletions

View File

@@ -548,7 +548,7 @@ def main():
finally:
kb.threadContinue = False
if getDaysFromLastUpdate() > LAST_UPDATE_NAGGING_DAYS:
if (getDaysFromLastUpdate() or 0) > LAST_UPDATE_NAGGING_DAYS:
warnMsg = "your sqlmap version is outdated"
logger.warning(warnMsg)