from main import main
import os
import time as t

def run_main():
    try:
        main()
    except:
        os.system('cls' if os.name == 'nt' else 'clear') 
        print("Main crashed, restarting")
        t.sleep(1)
        os.system('cls' if os.name == 'nt' else 'clear') 

while(True):
    run_main()
    
