mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-15 02:37:49 -06:00
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.
This commit is contained in:
parent
1a456253a0
commit
19dc1dff82
1 changed files with 1 additions and 1 deletions
|
@ -54,7 +54,7 @@ import sys
|
||||||
import os.path
|
import os.path
|
||||||
import numpy
|
import numpy
|
||||||
import copy
|
import copy
|
||||||
import urllib
|
import urllib.parse
|
||||||
import os
|
import os
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue