Jump to content

Samelot

Member
  • Posts

    1
  • Joined

  • Last visited

Posts posted by Samelot

  1. Quote

    Still not working for me.

     

    @xilopaint, check out this issue on github: https://github.com/azai91/alfred-drive-workflow/issues/2

     

    These were my steps to fix the issue and login and be able to be able to browse through my google drive:

     

    1. Download latest version here: http://www.packal.org/workflow/google-drive

    2. Browse to the Alfred workflow directory in finder and go inside the google drive workflow (you'll which one it is when you see files drive_api.py or drive_launcher.py)

    3. Find and open drive_launcher.py in a text editor

    4. Replace with this code:

    import subprocess
    import sys
    from drive_api import Drive
    from workflow import Workflow
    
    def main(wf):
      url = wf.args[0]
      if url in 'logout':
        return Drive.delete_credentials()
      elif url[:5] in 'login':
        return Drive.open_auth_page()
      Drive.open_page(url)
    
    if __name__ == '__main__':
      wf = Workflow()
      sys.exit(wf.run(main))
    
×
×
  • Create New...