check for log dir - make it

This commit is contained in:
Bastian Schroll 2015-05-15 20:55:15 +02:00
parent dcd064c930
commit 863ba8ae1a

View file

@ -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")