mirror of
https://github.com/Schrolli91/BOSWatch.git
synced 2026-01-22 00:00:25 +01:00
error in path check
This commit is contained in:
parent
863ba8ae1a
commit
f939041ad4
|
|
@ -44,10 +44,11 @@ try:
|
|||
|
||||
#Clear the Logfiles
|
||||
try:
|
||||
if not os.path.isdir(script_path+"/log"):
|
||||
os.mkdir(script_path+"/log")
|
||||
|
||||
script_path = os.path.dirname(os.path.abspath(__file__))
|
||||
|
||||
if not os.path.exists(script_path+"/log/"):
|
||||
os.mkdir(script_path+"/log/")
|
||||
|
||||
bos_log = open(script_path+"/log/log_bos.txt", "w")
|
||||
rtl_log = open(script_path+"/log/log_rtl.txt", "w")
|
||||
mon_log = open(script_path+"/log/log_mon.txt", "w")
|
||||
|
|
|
|||
Loading…
Reference in a new issue