Keep pylint happy (#1008)

This commit is contained in:
Ross Scroggs
2019-09-12 15:49:46 -07:00
committed by Jay Lee
parent 3aa6869a4b
commit 2bc759778c
2 changed files with 28 additions and 25 deletions

View File

@@ -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