Skip to content

Commit

Permalink
(fix) open page without method
Browse files Browse the repository at this point in the history
  • Loading branch information
azai91 committed Nov 26, 2015
1 parent 39a40dc commit 49333e5
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/drive_launcher.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
import sys
from drive_api import Drive
from workflow import Workflow
import subprocess

UPDATE_SETTINGS = {'github_slug' : 'azai91/alfred-drive-workflow'}
HELP_URL = 'https://github.com/azai91/alfred-drive-workflow/issues'
Expand All @@ -22,7 +23,7 @@ def main(wf):
Drive.set_cache_length(length)
return sys.stdout.write('cache set to %s seconds' % str(length))

Drive.open_page(url)
subprocess.call(['open', url])

if __name__ == '__main__':
sys.exit(wf.run(main))

0 comments on commit 49333e5

Please sign in to comment.