Fix AttributeError: module has no attribute try_decode

This commit is contained in:
croneter 2021-01-03 13:56:08 +01:00
parent cc68bb0c43
commit fd001fa496

View file

@ -20,7 +20,6 @@ def kodiid_from_filename(path, kodi_type=None, db_type=None):
Returns None, <kodi_type> if not possible Returns None, <kodi_type> if not possible
""" """
kodi_id = None kodi_id = None
path = utils.try_decode(path)
# Make sure path ends in either '/' or '\' # Make sure path ends in either '/' or '\'
# We CANNOT use path_ops.path.join as this can result in \ where we need / # We CANNOT use path_ops.path.join as this can result in \ where we need /
try: try: