Fix missing import

This commit is contained in:
angelblue05 2018-09-07 22:53:49 -05:00
parent bebc9ab38b
commit bb8afe218d
2 changed files with 6 additions and 2 deletions

View file

@ -518,6 +518,10 @@ msgctxt "#33093"
msgid "Backup folder"
msgstr ""
msgctxt "#33097"
msgid "Important, cleanonupdate was removed in your advanced settings to prevent conflict with Emby for Kodi. Kodi will restart now."
msgstr ""
msgctxt "#33098"
msgid "Refresh boxsets"
msgstr ""

View file

@ -9,7 +9,7 @@ import xml.etree.ElementTree as etree
import xbmc
from . import _, indent, write_xml, dialog
from . import _, indent, write_xml, dialog, settings
#################################################################################################
@ -109,7 +109,7 @@ def advanced_settings():
indent(xml)
write_xml(etree.tostring(xml, 'UTF-8'), path)
xbmcgui.Dialog().ok(heading=language(29999), line1=language(33097))
dialog("ok", heading="{emby}", line1=_(33097))
xbmc.executebuiltin('RestartApp')
return True