Refactor utils.nzb to plugins.downloaders.nzb.utils

This commit is contained in:
Labrys of Knossos 2019-03-10 11:09:26 -04:00
parent e1aa32aee7
commit 1d75439441
4 changed files with 31 additions and 5 deletions
core
auto_process
plugins/downloaders/nzb
utils

@ -8,9 +8,23 @@ import requests
import core
from core import logger, transcoder
from core.auto_process.common import command_complete, completed_download_handling, ProcessResult
from core.auto_process.common import (
ProcessResult,
command_complete,
completed_download_handling,
)
from core.plugins.downloaders.nzb.utils import report_nzb
from core.scene_exceptions import process_all_exceptions
from core.utils import convert_to_ascii, find_download, find_imdbid, import_subs, list_media_files, remote_dir, remove_dir, report_nzb, server_responding
from core.utils import (
convert_to_ascii,
find_download,
find_imdbid,
import_subs,
list_media_files,
remote_dir,
remove_dir,
server_responding,
)
requests.packages.urllib3.disable_warnings()

@ -10,10 +10,23 @@ import requests
import core
from core import logger, transcoder
from core.auto_process.common import command_complete, completed_download_handling, ProcessResult
from core.auto_process.common import (
ProcessResult,
command_complete,
completed_download_handling,
)
from core.forks import auto_fork
from core.plugins.downloaders.nzb.utils import report_nzb
from core.scene_exceptions import process_all_exceptions
from core.utils import convert_to_ascii, flatten, import_subs, list_media_files, remote_dir, remove_dir, report_nzb, server_responding
from core.utils import (
convert_to_ascii,
flatten,
import_subs,
list_media_files,
remote_dir,
remove_dir,
server_responding,
)
requests.packages.urllib3.disable_warnings()

@ -20,7 +20,6 @@ from core.utils.links import copy_link, replace_links
from core.utils.naming import clean_file_name, is_sample, sanitize_name
from core.utils.network import find_download, server_responding, test_connection, wake_on_lan, wake_up
from core.utils.notifications import plex_update
from core.utils.nzbs import get_nzoid, report_nzb
from core.utils.parsers import (
parse_args,
parse_deluge,