fix vari kodi 19
This commit is contained in:
+1
-1
@@ -87,7 +87,7 @@ def encode(path, _samba=False):
|
||||
if scrapertools.find_single_match(path, '(^\w+:\/\/)') or _samba:
|
||||
path = path.encode("utf-8", "ignore")
|
||||
else:
|
||||
if fs_encoding:
|
||||
if fs_encoding and not PY3:
|
||||
path = path.encode(fs_encoding, "ignore")
|
||||
|
||||
return path
|
||||
|
||||
@@ -21,7 +21,6 @@ import copy
|
||||
import re
|
||||
import sqlite3
|
||||
import time
|
||||
import urllib
|
||||
|
||||
import xbmcaddon
|
||||
|
||||
|
||||
Reference in New Issue
Block a user