mirror of
https://github.com/clinton-hall/nzbToMedia.git
synced 2025-08-21 05:43:16 -07:00
added "UserScript" to config migration. #185
This commit is contained in:
parent
8df349bcdb
commit
4081074654
1 changed files with 10 additions and 0 deletions
|
@ -155,6 +155,16 @@ def migrate():
|
|||
option, value = item
|
||||
confignew.set(section, option, value)
|
||||
|
||||
section = "UserScript"
|
||||
original = []
|
||||
try:
|
||||
original = configold.items(section)
|
||||
except:
|
||||
pass
|
||||
for item in original:
|
||||
option, value = item
|
||||
confignew.set(section, option, value)
|
||||
|
||||
section = "loggers"
|
||||
original = []
|
||||
try:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue