diff --git a/delugeClient/__init__.py b/delugeClient/__init__.py index 07bd55a..796f680 100644 --- a/delugeClient/__init__.py +++ b/delugeClient/__init__.py @@ -1,11 +1,13 @@ +import os from sys import path -from os.path import dirname -path.append(dirname(__file__)) +path.append(os.path.dirname(__file__)) __version__=0.1 import logging +from delugeUtils import BASE_DIR + logger = logging.getLogger('deluge_cli') logger.setLevel(logging.DEBUG) diff --git a/setup.py b/setup.py index 2f53263..145d73d 100644 --- a/setup.py +++ b/setup.py @@ -1,8 +1,5 @@ from setuptools import setup, find_packages -from sys import path -from os.path import dirname -path.append(dirname(__file__)) import delugeClient with open("README.md", "r", encoding="utf-8") as fh: