From: Josh Williams Date: Tue, 24 Sep 2013 20:00:58 +0000 (-0400) Subject: Minor name adjustments X-Git-Tag: release-20150131~386^2~87 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=7336e841aeb95f30230cda559f7cae29365ed4a7;p=oweals%2Fkarmaworld.git Minor name adjustments --- diff --git a/docs/source/gdrive.rst b/docs/source/gdrive.rst index 8314817..01de6ad 100644 --- a/docs/source/gdrive.rst +++ b/docs/source/gdrive.rst @@ -13,7 +13,7 @@ build a flow object called `flow` open a private browsing instance in a browser Log into the google drive account of the GOOGLE_USER set in `karmaworld.secrets.drive` get the authorization url - flow.step1_authorize_url() + flow.step1_get_authorize_url() go to that url in your browser it will redirecto you to a url in the format of: diff --git a/karmaworld/apps/notes/gdrive.py b/karmaworld/apps/notes/gdrive.py index 5b8760e..605ea01 100644 --- a/karmaworld/apps/notes/gdrive.py +++ b/karmaworld/apps/notes/gdrive.py @@ -22,7 +22,7 @@ CLIENT_SECRET = os.path.join(settings.DJANGO_ROOT, \ 'secret/client_secrets.json') #from credentials import GOOGLE_USER # FIXME try: - from secrets.drive import GOOGLE_USER + from secret.drive import GOOGLE_USER except: GOOGLE_USER = 'admin@karmanotes.org' # FIXME