mirror of
https://github.com/BOSWatch/BW3-Core.git
synced 2026-04-05 14:25:45 +00:00
fix error
This commit is contained in:
parent
16a8424b80
commit
a6e10dd6f5
1 changed files with 1 additions and 1 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue