mirror of
https://github.com/BOSWatch/BW3-Core.git
synced 2026-01-30 20:34:34 +01:00
some little fixes
This commit is contained in:
parent
4b69b08028
commit
3feda678e2
|
|
@ -19,6 +19,7 @@ log_file_format=%(asctime)s - %(module)-12s %(funcName)-15s [%(levelname)-8s] %(
|
|||
log_file_date_format=%d.%m.%Y %H:%M:%S
|
||||
|
||||
#pep8 plugin
|
||||
pep8ignore = E402, E501 # import not at top
|
||||
pep8ignore = E402 E501
|
||||
# E402 # import not at top
|
||||
# E501 # line too long
|
||||
# pep8maxlinelength = 99
|
||||
|
|
@ -23,6 +23,7 @@ logging.debug("- %s loaded", __name__)
|
|||
# note searching for root part is not a nice solution atm
|
||||
ROOT_PATH = os.path.dirname(sys.modules['boswatch'].__file__).replace("\\", "/") + "/../"
|
||||
|
||||
LOG_PATH = ROOT_PATH + "log/"
|
||||
CONFIG_PATH = ROOT_PATH + "config/"
|
||||
BIN_PATH = ROOT_PATH + "_bin/"
|
||||
TEST_PATH = ROOT_PATH + "test/"
|
||||
|
|
|
|||
|
|
@ -14,6 +14,7 @@
|
|||
@author: Bastian Schroll
|
||||
@description: BOSWatch client application
|
||||
"""
|
||||
# pylint: disable=wrong-import-position
|
||||
from boswatch.utils import paths
|
||||
|
||||
if not paths.makeDirIfNotExist(paths.LOG_PATH):
|
||||
|
|
|
|||
|
|
@ -14,6 +14,7 @@
|
|||
@author: Bastian Schroll
|
||||
@description: BOSWatch server application
|
||||
"""
|
||||
# pylint: disable=wrong-import-position
|
||||
from boswatch.utils import paths
|
||||
|
||||
if not paths.makeDirIfNotExist(paths.LOG_PATH):
|
||||
|
|
|
|||
|
|
@ -100,4 +100,3 @@ class Module:
|
|||
"""!Called by destruction of the module
|
||||
Must be inherit"""
|
||||
pass
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue