diff --git a/src/config.py b/src/config.py index 3325211..996a4fa 100644 --- a/src/config.py +++ b/src/config.py @@ -9,9 +9,9 @@ AUTH_URL = 'https://accounts.google.com/o/oauth2/auth?scope=%s&redirect_uri=%s&response_type=code&client_id=%s&access_type=offline&approval_prompt=force' % (SCOPE, REDIRECT_URI, CLIENT_ID) TOKEN_URL = 'https://www.googleapis.com/oauth2/v3/token' -FILES_URL = 'https://www.googleapis.com/drive/v2/files?orderBy=lastViewedByMeDate+desc&fields=items' +FILES_URL = 'https://www.googleapis.com/drive/v2/files?fields=items' -CACHE_MAX_AGE = 60*60 # cache set to 1 hour +CACHE_MAX_AGE = 60*60*24*30 # cache set to 1 month SETTINGS = { 'LOGIN' : { @@ -40,8 +40,6 @@ } } - - OPTIONS = [ { 'title' : 'Search Google Drive', @@ -53,7 +51,6 @@ } ] - ERRORS = { 'ConnectionError' : { 'title' : 'Error with connection',