Skip to content

Commit

Permalink
Remove Python 3.7 warning.
Browse files Browse the repository at this point in the history
  • Loading branch information
mzilinec committed Jun 11, 2019
1 parent a79b0fd commit 03ad015
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions botshot/bots.py
Original file line number Diff line number Diff line change
Expand Up @@ -170,12 +170,8 @@ def _yesno(query):

def main():

if sys.version_info >= (3, 7):
ok = _yesno("Warning: Python 3.7 is not supported yet due to Celery dependency. Do you want to continue? [y/n]")
if not ok:
exit(1)
elif sys.version_info < (3, 5):
print("Your Python version is not supported. Please update to Python 3.5 or 3.6.")
if sys.version_info < (3, 5):
print("Your Python version is not supported. Please update to Python 3.5, 3.6 or 3.7.")
exit(1)

parser = argparse.ArgumentParser(description="Botshot framework configuration utility")
Expand Down

0 comments on commit 03ad015

Please sign in to comment.