fixed time range loading

This commit is contained in:
Klemek
2021-04-09 19:50:12 +02:00
parent cf6fa7ccf2
commit 76af4661ed
3 changed files with 23 additions and 20 deletions
+1 -1
View File
@@ -150,7 +150,7 @@ class Scanner(ABC):
elif total_msg == NO_FILE:
await message.channel.send(gdpr.TEXT)
else:
if self.start_date is not None:
if self.start_date is not None and len(logs.channels) > 0:
self.start_date = max(
self.start_date,
min(