fix error

This commit is contained in:
Bastian Schroll 2018-09-18 05:48:18 +02:00
parent 16a8424b80
commit a6e10dd6f5

View file

@ -24,7 +24,7 @@ logging.debug("- %s loaded", __name__)
# todo searching for root part is not a nice solution atm
ROOT_PATH = os.path.dirname(sys.modules['boswatch'].__file__).replace("\\", "/") + "/../"
if platform.system() is "Linux":
if platform.system() == "Linux":
LOG_PATH = "/var/log/boswatch/"
else:
LOG_PATH = ROOT_PATH + "log/"