mirror of
https://github.com/clinton-hall/nzbToMedia.git
synced 2025-08-19 21:03:14 -07:00
minor fixes for #230
This commit is contained in:
parent
6fe287df0d
commit
18d10d28a6
3 changed files with 6 additions and 1 deletions
|
@ -121,6 +121,10 @@ def migrate():
|
|||
original = configold.items(section)
|
||||
except:
|
||||
continue
|
||||
try:
|
||||
confignew.add_section(section)
|
||||
except:
|
||||
pass
|
||||
for item in original:
|
||||
option, value = item
|
||||
confignew.set(section, option, value)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue