Skip to content

Commit

Permalink
Merge pull request #1858 from glensc/provider-none
Browse files Browse the repository at this point in the history
Accept provider none
  • Loading branch information
glensc authored Mar 13, 2024
2 parents e94b555 + e5b4e81 commit dd1bfa2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plextraktsync/plex/PlexGuidProvider.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ def create(cls, guid: PlexGuid):
return PlexGuidProviderTMDB(guid)
if guid.provider == "tvdb":
return PlexGuidProviderTVDB(guid)
if guid.provider == "local":
if guid.provider in ["local", "none"]:
return PlexGuidProviderLocal(guid)

raise RuntimeError(f"Unsupported provider: {guid.provider}")

0 comments on commit dd1bfa2

Please sign in to comment.