Merge pull request #12 from Danieli4/codex/add-offline-event-management-feature-h2h41a
Fix storage helpers missing imports
This commit is contained in:
commit
5e23a1f364
|
|
@ -192,7 +192,6 @@ def registration_is_open(
|
||||||
deadline = deadline.replace(tzinfo=timezone.utc)
|
deadline = deadline.replace(tzinfo=timezone.utc)
|
||||||
|
|
||||||
if deadline and deadline < current_time:
|
if deadline and deadline < current_time:
|
||||||
|
|
||||||
return False
|
return False
|
||||||
|
|
||||||
if mission.capacity is not None and participant_count >= mission.capacity:
|
if mission.capacity is not None and participant_count >= mission.capacity:
|
||||||
|
|
|
||||||
|
|
@ -2,8 +2,11 @@
|
||||||
|
|
||||||
from __future__ import annotations
|
from __future__ import annotations
|
||||||
|
|
||||||
from pathlib import Path
|
import base64
|
||||||
|
import mimetypes
|
||||||
import shutil
|
import shutil
|
||||||
|
|
||||||
|
from pathlib import Path
|
||||||
import mimetypes
|
import mimetypes
|
||||||
import base64
|
import base64
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user