|
@@ -2,7 +2,6 @@ import logging
|
|
|
import re
|
|
|
from datetime import datetime, timedelta
|
|
|
from typing import Any, Optional
|
|
|
-from zoneinfo import ZoneInfo
|
|
|
|
|
|
import pendulum
|
|
|
import pytz
|
|
@@ -27,6 +26,7 @@ from scrobbles.constants import (
|
|
|
SCROBBLE_CONTENT_URLS,
|
|
|
)
|
|
|
from scrobbles.models import Scrobble
|
|
|
+from scrobbles.notifications import NtfyNotification
|
|
|
from scrobbles.utils import convert_to_seconds, extract_domain
|
|
|
from sports.models import SportEvent
|
|
|
from sports.thesportsdb import lookup_event_from_thesportsdb
|
|
@@ -505,6 +505,7 @@ def email_scrobble_board_game(
|
|
|
scrobble.played_to_completion = True
|
|
|
scrobble.save()
|
|
|
scrobbles_created.append(scrobble)
|
|
|
+ NtfyNotification(scrobble).send()
|
|
|
|
|
|
return scrobbles_created
|
|
|
|