Fix NameError
This commit is contained in:
parent
c5741c7225
commit
740cc5a6ff
1 changed files with 2 additions and 1 deletions
|
@ -7,6 +7,7 @@ from Queue import Queue
|
||||||
from xbmc import executebuiltin, translatePath
|
from xbmc import executebuiltin, translatePath
|
||||||
|
|
||||||
from . import utils
|
from . import utils
|
||||||
|
from .utils import etree
|
||||||
from . import path_ops
|
from . import path_ops
|
||||||
from . import migration
|
from . import migration
|
||||||
from .downloadutils import DownloadUtils as DU
|
from .downloadutils import DownloadUtils as DU
|
||||||
|
@ -493,7 +494,7 @@ class InitialSetup(object):
|
||||||
xml.set_setting(['video', 'ignoresecondsatstart'],
|
xml.set_setting(['video', 'ignoresecondsatstart'],
|
||||||
value='60')
|
value='60')
|
||||||
reboot = xml.write_xml
|
reboot = xml.write_xml
|
||||||
except utils.etree.ParseError:
|
except etree.ParseError:
|
||||||
cache = None
|
cache = None
|
||||||
reboot = False
|
reboot = False
|
||||||
# Kodi default cache if no setting is set
|
# Kodi default cache if no setting is set
|
||||||
|
|
Loading…
Add table
Reference in a new issue