Skip to content
This repository has been archived by the owner on Oct 22, 2020. It is now read-only.

Commit

Permalink
Update version to 2.6
Browse files Browse the repository at this point in the history
  • Loading branch information
corbindavenport committed Dec 21, 2018
1 parent 07b35c6 commit dc617f9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion tootbot-heroku.py
Expand Up @@ -197,7 +197,7 @@ def make_post(post_dict):
with urllib.request.urlopen("https://raw.githubusercontent.com/corbindavenport/tootbot/update-check/current-version.txt") as url:
s = url.read()
new_version = s.decode("utf-8").rstrip()
current_version = 2.5.1 # Current version of script
current_version = 2.6 # Current version of script
if (current_version < float(new_version)):
print('[WARN] A new version of Tootbot (' + str(new_version) + ') is available! (you have ' + str(current_version) + ')')
print('[WARN] Get the latest update from here: https://github.com/corbindavenport/tootbot/releases')
Expand Down
2 changes: 1 addition & 1 deletion tootbot.py
Expand Up @@ -203,7 +203,7 @@ def make_post(post_dict):
with urllib.request.urlopen("https://raw.githubusercontent.com/corbindavenport/tootbot/update-check/current-version.txt") as url:
s = url.read()
new_version = s.decode("utf-8").rstrip()
current_version = 2.5.1 # Current version of script
current_version = 2.6 # Current version of script
if (current_version < float(new_version)):
print('[WARN] A new version of Tootbot (' + str(new_version) + ') is available! (you have ' + str(current_version) + ')')
print('[WARN] Get the latest update from here: https://github.com/corbindavenport/tootbot/releases')
Expand Down

0 comments on commit dc617f9

Please sign in to comment.