Skip to content
This repository was archived by the owner on Jan 25, 2019. It is now read-only.

KeyError: 'text/html' #11

Open
netpoetica opened this issue Aug 30, 2017 · 0 comments
Open

KeyError: 'text/html' #11

netpoetica opened this issue Aug 30, 2017 · 0 comments

Comments

@netpoetica
Copy link

Hello!

If I run (like the example):

➜  gitdriver git:(master) ✗ env/bin/python gitdriver.py MY_DOC_ID 

I get the following output:

Exactly one mime-type must be given!

When I add the -T/--text flag, or specify --mime-type=text/html, I get the following output:

Create repository "MY_DOC_TITLE"
Initialized empty Git repository in /Users/rosenbek/Desktop/temp/gitdriver/MY_DOC_TITLE/.git/
Traceback (most recent call last):
  File "gitdriver.py", line 72, in <module>
    main()
  File "gitdriver.py", line 55, in main
    r = gd.session.get(rev['exportLinks'][opts.mime_type])
KeyError: 'text/html'

Any thoughts what might be going on?

I am trying to clone a Google Sheet, if it's any help.

Thanks for the good idea on this repo!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant