Skip to content

Commit

Permalink
fix type hint
Browse files Browse the repository at this point in the history
  • Loading branch information
lardbit committed Nov 5, 2024
1 parent 2ab1fe1 commit cfaa646
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
3 changes: 2 additions & 1 deletion src/nefarious/processors.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
import os
import regex
from typing import Union
from django.apps import apps
from django.conf import settings
from datetime import datetime
Expand All @@ -18,7 +19,7 @@


class WatchProcessorBase:
watch_media: WatchMovie | WatchTVEpisode | WatchTVSeason = None
watch_media: Union[WatchMovie, WatchTVEpisode, WatchTVSeason] = None
nefarious_settings: NefariousSettings = None
_reprocess_without_possessive_apostrophes = False
_possessive_apostrophes_regex = regex.compile(r"(?!\w)'s\b", regex.I)
Expand Down
1 change: 0 additions & 1 deletion src/nefarious/tasks.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
import os

import pytz
from celery import chain
from celery.signals import task_failure
Expand Down

0 comments on commit cfaa646

Please sign in to comment.