mirror of
https://github.com/clinton-hall/nzbToMedia.git
synced 2025-08-14 10:36:52 -07:00
improved importing of autoProcess modules
This commit is contained in:
parent
4a1b246165
commit
7668b5bed6
7 changed files with 36 additions and 44 deletions
|
@ -2,13 +2,12 @@
|
|||
|
||||
import os
|
||||
import sys
|
||||
sys.path.insert(0, os.path.join(os.path.dirname(sys.argv[0]),'autoProcess/'))
|
||||
import logging
|
||||
|
||||
import migratecfg
|
||||
import autoProcessMusic
|
||||
from nzbToMediaEnv import *
|
||||
from nzbToMediaUtil import *
|
||||
import autoProcess.migratecfg as migratecfg
|
||||
import autoProcess.autoProcessMusic as autoProcessMusic
|
||||
from autoProcess.nzbToMediaEnv import *
|
||||
from autoProcess.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")):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue