From dc617f93a46035ac6434da7ee5a56737b91a8035 Mon Sep 17 00:00:00 2001 From: Corbin Davenport Date: Fri, 21 Dec 2018 14:36:17 -0500 Subject: [PATCH] Update version to 2.6 --- tootbot-heroku.py | 2 +- tootbot.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/tootbot-heroku.py b/tootbot-heroku.py index f076e79..d1a7207 100644 --- a/tootbot-heroku.py +++ b/tootbot-heroku.py @@ -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') diff --git a/tootbot.py b/tootbot.py index b41c049..1dd4d2e 100644 --- a/tootbot.py +++ b/tootbot.py @@ -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')