mirror of
https://github.com/Schrolli91/BOSWatch.git
synced 2026-02-03 22:04:18 +01:00
check for log dir - make it
This commit is contained in:
parent
dcd064c930
commit
863ba8ae1a
|
|
@ -44,6 +44,9 @@ 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__))
|
||||
bos_log = open(script_path+"/log/log_bos.txt", "w")
|
||||
rtl_log = open(script_path+"/log/log_rtl.txt", "w")
|
||||
|
|
|
|||
Loading…
Reference in a new issue