Skip to content

Commit

Permalink
local appdata
Browse files Browse the repository at this point in the history
  • Loading branch information
primaeval committed Aug 8, 2017
1 parent 58420f4 commit bde6ddb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions main.py
Original file line number Diff line number Diff line change
Expand Up @@ -1301,15 +1301,15 @@ def device_wizard():
elif index == 4:
plugin.set_setting('device','2')
plugin.set_setting('exe','C:\\Program Files\\WebGrab+Plus\\bin\\WebGrab+Plus.exe')
plugin.set_setting('config_output_folder','C:\\ProgramData\\ServerCare\\WebGrab\\')
plugin.set_setting('config_output_folder',os.path.join(os.getenv("LOCALAPPDATA"), "WebGrab+Plus"))
plugin.set_setting('xmltv_name','xmltv.xml')
plugin.set_setting('xmltv_output_folder','C:\\ProgramData\\ServerCare\\WebGrab\\')
elif index == 5:
plugin.set_setting('device','3')
plugin.set_setting('exe','C:\\Program Files (x86)\\WebGrab+Plus\\bin\\WebGrab+Plus.exe')
plugin.set_setting('config_output_folder','C:\\ProgramData\\ServerCare\\WebGrab\\')
plugin.set_setting('xmltv_name','xmltv.xml')
plugin.set_setting('xmltv_output_folder','C:\\ProgramData\\ServerCare\\WebGrab\\')
plugin.set_setting('xmltv_output_folder',os.path.join(os.getenv("LOCALAPPDATA"), "WebGrab+Plus"))

@plugin.route('/import_config')
def import_config():
Expand Down

0 comments on commit bde6ddb

Please sign in to comment.