mirror of
https://github.com/GAM-team/GAM.git
synced 2025-07-08 05:33:34 +00:00
Add fixes back for oauth2client
This commit is contained in:
@ -593,7 +593,7 @@ def buildGAPIObject(api):
|
||||
pyinstaller_disc_file = None
|
||||
try:
|
||||
pyinstaller_disc_file = os.path.join(sys._MEIPASS, disc_filename)
|
||||
except NameError:
|
||||
except (NameError, AttributeError):
|
||||
pass
|
||||
if os.path.isfile(disc_file):
|
||||
f = file(disc_file, 'rb')
|
||||
@ -687,7 +687,7 @@ def buildGAPIServiceObject(api, act_as=None, soft_errors=False):
|
||||
pyinstaller_disc_file = None
|
||||
try:
|
||||
pyinstaller_disc_file = os.path.join(sys._MEIPASS, disc_filename)
|
||||
except NameError:
|
||||
except (NameError, AttributeError):
|
||||
pass
|
||||
if os.path.isfile(disc_file):
|
||||
f = file(disc_file, 'rb')
|
||||
|
Reference in New Issue
Block a user