From fd001fa4967242d21d836da6a44f5dd792e857ef Mon Sep 17 00:00:00 2001 From: croneter Date: Sun, 3 Jan 2021 13:56:08 +0100 Subject: [PATCH] Fix AttributeError: module has no attribute try_decode --- resources/lib/kodi_db/__init__.py | 1 - 1 file changed, 1 deletion(-) diff --git a/resources/lib/kodi_db/__init__.py b/resources/lib/kodi_db/__init__.py index c3cd3346..c8591f36 100644 --- a/resources/lib/kodi_db/__init__.py +++ b/resources/lib/kodi_db/__init__.py @@ -20,7 +20,6 @@ def kodiid_from_filename(path, kodi_type=None, db_type=None): Returns None, if not possible """ kodi_id = None - path = utils.try_decode(path) # Make sure path ends in either '/' or '\' # We CANNOT use path_ops.path.join as this can result in \ where we need / try: