fixed windows compatibility
This commit is contained in:
parent
31e13633ae
commit
eb7e7c2fab
1 changed files with 1 additions and 1 deletions
2
main.py
2
main.py
|
|
@ -92,7 +92,7 @@ def output_line(event):
|
|||
if __name__ == '__main__':
|
||||
while True:
|
||||
try:
|
||||
os.system('clear')
|
||||
os.system('cls' if os.name == 'nt' else 'clear')
|
||||
# create the log and rooms folder if it doesn't exist
|
||||
os.makedirs("{}/logs/".format(os.getenv('DATA_FOLDER')), exist_ok=True)
|
||||
os.makedirs("{}/rooms/".format(os.getenv('DATA_FOLDER')), exist_ok=True)
|
||||
|
|
|
|||
Loading…
Reference in a new issue