no python2

This commit is contained in:
Adrien MALINGREY 2019-10-02 14:51:56 +02:00
parent 3015a36984
commit 4a69c12349

View File

@ -4,10 +4,7 @@ import locale
import time
import os
try:
import configparser
except ImportError:
import ConfigParser as configparser
try:
import arcade
@ -482,8 +479,11 @@ High score could not be saved:
def main():
try:
TetrArcade()
arcade.run()
except Exception as e:
sys.exit(e)
if __name__ == "__main__":