mirror of
https://github.com/GAM-team/GAM.git
synced 2026-06-28 18:01:36 +00:00
Keep pylint happy (#1008)
This commit is contained in:
@@ -57,8 +57,6 @@ from urllib.parse import urlencode, urlparse
|
||||
from passlib.hash import sha512_crypt
|
||||
import dateutil.parser
|
||||
|
||||
if platform.system() == 'Linux':
|
||||
import distro
|
||||
import googleapiclient
|
||||
import googleapiclient.discovery
|
||||
import googleapiclient.errors
|
||||
@@ -72,6 +70,9 @@ import httplib2
|
||||
import utils
|
||||
from var import *
|
||||
|
||||
if platform.system() == 'Linux':
|
||||
import distro
|
||||
|
||||
# Finding path method varies between Python source, PyInstaller and StaticX
|
||||
if os.environ.get('STATICX_PROG_PATH', False):
|
||||
# StaticX static executable
|
||||
|
||||
Reference in New Issue
Block a user