From 53faa043f91e5153ab13a099d0a8e4b6c411bd2e Mon Sep 17 00:00:00 2001 From: Miguel Jacq Date: Mon, 6 Nov 2017 09:16:55 +1100 Subject: [PATCH] use LooseVersion instead of StrictVersion, so that upstream versions of Flask that contain -dev will still work. Fixes #442 --- onionshare/web.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/onionshare/web.py b/onionshare/web.py index aec86bf4..cc00c680 100644 --- a/onionshare/web.py +++ b/onionshare/web.py @@ -17,7 +17,7 @@ GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program. If not, see . """ -from distutils.version import StrictVersion as Version +from distutils.version import LooseVersion as Version import queue, mimetypes, platform, os, sys, socket, logging, hmac from urllib.request import urlopen