mirror of
https://github.com/BOSWatch/BW3-Core.git
synced 2026-01-03 23:29:56 +01:00
fix error
This commit is contained in:
parent
16a8424b80
commit
a6e10dd6f5
|
|
@ -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/"
|
||||
|
|
|
|||
Loading…
Reference in a new issue