Skip to content

Commit

Permalink
(feat) edit whitespace
Browse files Browse the repository at this point in the history
  • Loading branch information
azai91 committed Nov 1, 2015
1 parent f8f02ec commit 3aca395
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 7 deletions.
10 changes: 7 additions & 3 deletions src/config.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
CLIENT_ID='959e19a2843c4afa9086c76659dd17f4'
CLIENT_SECRET='2c16535ef1d44511b383ed2fd2caad59'
SCOPE='task:add'
CLIENT_ID = '959e19a2843c4afa9086c76659dd17f4'
CLIENT_SECRET = '2c16535ef1d44511b383ed2fd2caad59'
SCOPE = 'task:add'

AUTH_URL = 'https://todoist.com/oauth/authorize?client_id=%s&scope=%s&state=%s' % (CLIENT_ID, SCOPE, 'Alfred')
ADD_ITEM_URL = 'https://todoist.com/API/v6/add_item'
TOKEN_URL = 'https://todoist.com/oauth/access_token'
7 changes: 3 additions & 4 deletions src/todoist.py
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
from workflow import Workflow, PasswordNotFound, ICON_TRASH, ICON_WARNING, ICON_USER
import requests
from workflow import Workflow

UPDATE_SETTINGS = {'github_slug' : 'azai91/alfred-drive-workflow'}
HELP_URL = 'https://github.com/azai91/alfred-drive-workflow/issues'
UPDATE_SETTINGS = {'github_slug' : 'azai91/alfred-todoist-workflow'}
HELP_URL = 'https://github.com/azai91/alfred-todoist-workflow/issues'

wf = Workflow(update_settings=UPDATE_SETTINGS, help_url=HELP_URL)

Expand Down
1 change: 1 addition & 0 deletions version
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
0.1

0 comments on commit 3aca395

Please sign in to comment.