Skip to content

Commit dddc482

Browse files
authored
Fix invalid escape sequence DeprecationWarning (#1244)
* Fix invalid escape sequence DeprecationWarning * Remove escape chars
1 parent cbaaa19 commit dddc482

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

plexapi/base.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -227,7 +227,7 @@ def fetchItems(self, ekey, cls=None, container_start=None, container_size=None,
227227
228228
fetchItem(ekey, viewCount__gte=0)
229229
fetchItem(ekey, Media__container__in=["mp4", "mkv"])
230-
fetchItem(ekey, guid__iregex=r"(imdb:\/\/|themoviedb:\/\/)")
230+
fetchItem(ekey, guid__iregex=r"(imdb://|themoviedb://)")
231231
fetchItem(ekey, Media__Part__file__startswith="D:\\Movies")
232232
233233
"""

0 commit comments

Comments
 (0)