Skip to content
Permalink
Browse files

Updated goco.py

__init__(): removed unnecessary argument
Goco class: added some doc
  • Loading branch information...
elmoiv committed Sep 12, 2019
1 parent b5cf449 commit c8498224722234ea65e53779a1c6ba3c195370bc
Showing with 10 additions and 2 deletions.
  1. +10 −2 goco/goco.py
@@ -8,11 +8,19 @@
from googleapiclient import discovery

class Goco:
'''
# [Goco](https://github.com/elmoiv/goco):
def __init__(self, client_secret_path, credentials_storage_path):
### Stupidly user-friendly Google API services Authenticator
- `client_secret_path`: Path to your `client_secret.json` file
'''
def __init__(self, client_secret_path):

self.csecp = client_secret_path
self.csrgp = credentials_storage_path
self.csrgp = 'credentials.storage'

if not os.path.exists(self.csecp):
raise FileNotFoundError('client_secret.json')

0 comments on commit c849822

Please sign in to comment.
You can’t perform that action at this time.