Open
Description
Using ubuntu, I'm seeing the following error when doing
dom zachwill.com
Traceback (most recent call last):
File "/usr/local/bin/dom", line 7, in <module>
Domain().main()
File "/usr/local/lib/python2.7/dist-packages/domainr/core.py", line 127, in main
status = self.status(args)
File "/usr/local/lib/python2.7/dist-packages/domainr/core.py", line 59, in status
data = Domain.parse_status(json_data.content, env)
File "/usr/local/lib/python2.7/dist-packages/domainr/core.py", line 79, in parse_status
status = data['status']
KeyError: 'status'
replacing:
print('\n'.join(status))
with:
print(status)
works, but the output is ugly.
b[0m zachwill.com', u'\x1b[31m\u2717\x1b[0m zachwill.compare', u'\x1b[32m\u2713\x1b[0m \x1b[1m\x1b[34mzachwill.community\x1b[0m', u'\x1b[32m\u2713\x1b[0m \x1b[1m\x1b[34mzachwill.company\x1b[0m', u'\x1b[32m\u2713\x1b[0m \x1b[1m\x1b[34mzachwill.computer\x1b[0m', u'\x1b[32m\u2713\x1b[0m \x1b[1m\x1b[34mzachwill.net\x1b[0m', u'\x1b[32m\u2713\x1b[0m \x1b[1m\x1b[34mzachwill.org\x1b[0m', u'\x1b[32m\u2713\x1b[0m \x1b[1m\x1b[34mzachwill.us\x1b[0m']
I believe the issue is the syntax highlighting is specific to osx terminal. may want to put that in the docs.
Metadata
Metadata
Assignees
Labels
No labels