mirror of
https://github.com/Schrolli91/BOSWatch.git
synced 2026-04-21 06:13:39 +00:00
check for log dir - make it
This commit is contained in:
parent
dcd064c930
commit
863ba8ae1a
1 changed files with 3 additions and 0 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue