mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-06 14:37:29 -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 numpy
|
||||
import copy
|
||||
import urllib
|
||||
import urllib.parse
|
||||
import os
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue