chore: fix pylint-2.7 errors (#33233)
This commit is contained in:
parent
fdb60240f3
commit
45e2f86fe0
13 changed files with 30 additions and 32 deletions
|
@ -186,9 +186,9 @@ def get_electron_exec():
|
|||
|
||||
if sys.platform == 'darwin':
|
||||
return '{0}/Electron.app/Contents/MacOS/Electron'.format(out_dir)
|
||||
elif sys.platform == 'win32':
|
||||
if sys.platform == 'win32':
|
||||
return '{0}/electron.exe'.format(out_dir)
|
||||
elif sys.platform == 'linux':
|
||||
if sys.platform == 'linux':
|
||||
return '{0}/electron'.format(out_dir)
|
||||
|
||||
raise Exception(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue