mirror of
https://github.com/clinton-hall/nzbToMedia.git
synced 2025-08-20 13:23:18 -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
|
option, value = item
|
||||||
confignew.set(section, option, value)
|
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"
|
section = "loggers"
|
||||||
original = []
|
original = []
|
||||||
try:
|
try:
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue