Skip to content

Commit b206c78

Browse files
committed
standard python2 syntax to err msg
1 parent 25bb506 commit b206c78

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

main.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
from core import Colors, Icons
88

99
if(version_info.major < 3): # Vérification de l'éxecution du script avec Python3
10-
print(f"{Icons.warn}Le programme doit être lancer avec Python 3")
10+
print("{}Le programme doit être lancer avec Python 3".format(Icons.warn))
1111
exit()
1212

1313
from core.entity import Entity

0 commit comments

Comments
 (0)