Skip to content

Commit

Permalink
still the same stuff of loading ga python class #18
Browse files Browse the repository at this point in the history
  • Loading branch information
dmpe committed Dec 12, 2018
1 parent 3422041 commit 72a822b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion userMng/third_party_services/google_analytics.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ def initialize_analyticsreporting(self):
fl = os.path.abspath(os.path.join(os.path.dirname(__file__),KEY_FILE_LOCATION))
print(fl)

credentials = ServiceAccountCredentials.from_json_keyfile_name(self.KEY_FILE_LOCATION, self.SCOPES)
credentials = ServiceAccountCredentials.from_json_keyfile_name(fl, self.SCOPES)

# Build the service object.
analytics = build('analyticsreporting', 'v4', credentials=credentials)
Expand Down

0 comments on commit 72a822b

Please sign in to comment.