Skip to content

Commit

Permalink
(feat) add version
Browse files Browse the repository at this point in the history
  • Loading branch information
azai91 committed Nov 1, 2015
1 parent f165f96 commit 9870956
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,4 @@
TOKEN_URL = 'https://www.googleapis.com/oauth2/v3/token'
FILES_URL = 'https://www.googleapis.com/drive/v2/files?orderBy=lastViewedByMeDate+desc&fields=items'

CACHE_MAX_AGE = 60*5 # cache set to 5 minutes
CACHE_MAX_AGE = 60*10 # cache set to 10 minutes
5 changes: 3 additions & 2 deletions src/drive.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,11 @@ def main(_):
options = True if wf.args[0][0] == '>' else False

if wf.update_available:
# wf.start_update()
wf.add_item(
'An update is available!',
autocomplete='workflow:update',
valid=False)
autocomplete='workflow:update')
return wf.send_feedback()

try:
user_input = wf.args[0][1::].strip() if options else wf.args[0]
Expand Down
1 change: 1 addition & 0 deletions src/version
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
1.3

0 comments on commit 9870956

Please sign in to comment.