use LooseVersion instead of StrictVersion, so that upstream versions of Flask that contain -dev will still work. Fixes #442

This commit is contained in:
Miguel Jacq 2017-11-06 09:16:55 +11:00
parent 6cd4b4391d
commit 263d0a102b

View file

@ -17,7 +17,7 @@ GNU General Public License for more details.
You should have received a copy of the GNU General Public License You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>. along with this program. If not, see <http://www.gnu.org/licenses/>.
""" """
from distutils.version import StrictVersion as Version from distutils.version import LooseVersion as Version
import queue, mimetypes, platform, os, sys, socket, logging, hmac import queue, mimetypes, platform, os, sys, socket, logging, hmac
from urllib.request import urlopen from urllib.request import urlopen