Merge pull request #1263 from croneter/fix-attributeerror
Fix AttributeError: module has no attribute try_decode
This commit is contained in:
commit
d2985925c6
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
|
||||
"""
|
||||
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:
|
||||
|
|
Loading…
Reference in a new issue