From 19dc1dff824832da1a3f8ba11c44082f2aaf14cb Mon Sep 17 00:00:00 2001 From: Jarl Gullberg Date: Fri, 9 Dec 2016 18:02:08 +0100 Subject: [PATCH] Changed urllib import to be more restrictive On certain Linux platforms, urllib in py3 no longer accepts a top-level module import. Restricting the imported modules to just "parse" fixes this issue. --- cura/CuraApplication.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cura/CuraApplication.py b/cura/CuraApplication.py index bd0a86d4af..6c3aca2df9 100644 --- a/cura/CuraApplication.py +++ b/cura/CuraApplication.py @@ -54,7 +54,7 @@ import sys import os.path import numpy import copy -import urllib +import urllib.parse import os