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 4387589b4f
commit 53faa043f9
No known key found for this signature in database
GPG Key ID: EEA4341C6D97A0B6

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
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
from urllib.request import urlopen