mirror of
https://github.com/clinton-hall/nzbToMedia.git
synced 2025-08-14 18:47:09 -07:00
minor fixes
This commit is contained in:
parent
1149894ca6
commit
ebed1104ab
1 changed files with 2 additions and 1 deletions
|
@ -3,12 +3,13 @@
|
|||
import sys
|
||||
import logging
|
||||
|
||||
import migratecfg
|
||||
import autoProcessMusic
|
||||
from nzbToMediaEnv import *
|
||||
from nzbToMediaUtil import *
|
||||
|
||||
#check to migrate old cfg before trying to load.
|
||||
if os.path.isfile(os.path.join(os.path.dirname(sys.argv[0]), "autoProcessMedia.cfg.sample"))
|
||||
if os.path.isfile(os.path.join(os.path.dirname(sys.argv[0]), "autoProcessMedia.cfg.sample")):
|
||||
migratecfg.migrate()
|
||||
|
||||
nzbtomedia_configure_logging(os.path.dirname(sys.argv[0]))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue