Typing update

This commit is contained in:
DevilXD committed 2022-07-31 21:40:03 +02:00
1 parent 7a7b94f57c
commit f919850ad2
6 files changed
+10 -10

No files matched your search

+1 -1
View File
@@ -237,7 +237,7 @@ class DropsCampaign:
return self.timed_drops.values()
@property
def active(self):
def active(self) -> bool:
return self.starts_at <= datetime.now(timezone.utc) < self.ends_at
@property