StartWB: Remove python2 support
* removed six module * removed encode() function
This commit is contained in:
@@ -24,10 +24,7 @@ import sys
|
||||
import FreeCAD
|
||||
import FreeCADGui
|
||||
|
||||
if sys.version_info.major < 3:
|
||||
from urllib import unquote
|
||||
else:
|
||||
from urllib.parse import unquote
|
||||
from urllib.parse import unquote
|
||||
|
||||
|
||||
# filename will be given before this script is run
|
||||
|
||||
Reference in New Issue
Block a user