mirror of
https://github.com/KevinMidboe/delugeClient.git
synced 2025-10-28 19:40:12 +00:00
Renamed file delugeUtils -> utils
This commit is contained in:
@@ -6,7 +6,7 @@ path.append(os.path.dirname(__file__))
|
||||
path.append(dirname(__file__))
|
||||
|
||||
import logging
|
||||
from delugeUtils import BASE_DIR
|
||||
from utils import BASE_DIR, ColorizeFilter
|
||||
|
||||
logger = logging.getLogger('deluge_cli')
|
||||
logger.setLevel(logging.DEBUG)
|
||||
|
||||
@@ -9,7 +9,7 @@ import logging.config
|
||||
|
||||
from deluge_client import DelugeRPCClient
|
||||
from sshtunnel import SSHTunnelForwarder
|
||||
from delugeUtils import getConfig, BASE_DIR
|
||||
from utils import getConfig, BASE_DIR
|
||||
|
||||
from torrent import Torrent
|
||||
|
||||
|
||||
@@ -50,7 +50,7 @@ def getConfig():
|
||||
for key, value in requiredParameters:
|
||||
if value == '':
|
||||
logger.error('Missing value for variable: "{}" in config: \
|
||||
"$HOME/.config/delugeClient/config.ini".'.format(key))
|
||||
"{}.'.format(key, user_config_dir))
|
||||
exit(1)
|
||||
|
||||
return config
|
||||
Reference in New Issue
Block a user