mirror of
https://github.com/GAM-team/GAM.git
synced 2026-07-03 20:31:35 +00:00
Fix info customer
This commit is contained in:
@@ -95,12 +95,10 @@ def doGetCustomerInfo():
|
|||||||
continue
|
continue
|
||||||
except gapi.errors.GapiForbiddenError:
|
except gapi.errors.GapiForbiddenError:
|
||||||
return
|
return
|
||||||
warnings = result.get('warnings', [])
|
|
||||||
fullDataRequired = ['accounts']
|
fullDataRequired = ['accounts']
|
||||||
usage = result.get('usageReports')
|
usage = result.get('usageReports')
|
||||||
has_reports = bool(usage)
|
|
||||||
fullData, tryDate = gapi_reports._check_full_data_available(
|
fullData, tryDate = gapi_reports._check_full_data_available(
|
||||||
warnings, tryDate, fullDataRequired, has_reports)
|
result, tryDate, fullDataRequired, False)
|
||||||
if fullData < 0:
|
if fullData < 0:
|
||||||
print('No user report available.')
|
print('No user report available.')
|
||||||
sys.exit(1)
|
sys.exit(1)
|
||||||
|
|||||||
Reference in New Issue
Block a user