Skip to content
This repository was archived by the owner on May 16, 2019. It is now read-only.

Commit f6e9b32

Browse files
committed
Avoid Exception for check
1 parent 66609db commit f6e9b32

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

openbazaard.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -205,9 +205,7 @@ def shutdown():
205205

206206
if __name__ == "__main__":
207207

208-
try:
209-
eval("if sys.version_info < (2, 12)")
210-
except Exception:
208+
if sys.version_info < (2, 12):
211209
print "You must use python 2.9 or greater"
212210
sys.exit(0)
213211

0 commit comments

Comments
 (0)