Fix AttributeError: module has no attribute try_decode
This commit is contained in:
parent
cc68bb0c43
commit
fd001fa496
1 changed files with 0 additions and 1 deletions
|
@ -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:
|
||||||
|
|
Loading…
Reference in a new issue