lgtm: removes unused imports in Python scripts

This commit is contained in:
wmayer
2022-03-20 23:00:55 +01:00
parent bec723ba17
commit cf7fd5d2ac
17 changed files with 16 additions and 28 deletions

View File

@@ -20,7 +20,6 @@
#***************************************************************************
import os
import sys
import FreeCAD
import FreeCADGui

View File

@@ -106,7 +106,7 @@ def getInfo(filename):
import gnomevfs
except Exception:
# alternative method
import hashlib,urllib.parse
import hashlib
fhash = hashlib.md5(bytes(urllib.parse.quote("file://"+path,safe=":/"),"ascii")).hexdigest()
thumb = os.path.join(os.path.expanduser("~"),".thumbnails","normal",fhash+".png")
else:

View File

@@ -19,7 +19,6 @@
#* *
#***************************************************************************
import sys
from PySide import QtGui