Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Some internal bug #8

Closed
trivigy opened this issue Sep 5, 2016 · 2 comments
Closed

Some internal bug #8

trivigy opened this issue Sep 5, 2016 · 2 comments

Comments

@trivigy
Copy link

trivigy commented Sep 5, 2016

When running the example I am getting this:

  File "/usr/local/lib/python3.5/dist-packages/asciitree/__init__.py", line 48, in __call__
    return '\n'.join(self.render(self.traverse.get_root(tree)))
  File "/usr/local/lib/python3.5/dist-packages/asciitree/traversal.py", line 29, in get_root
    return tree.items()[0]
TypeError: 'dict_items' object does not support indexing

I am on linux 64 with python 3.5.2

@mbr
Copy link
Owner

mbr commented Sep 5, 2016

The example is still on Python2, although the bug seems to be inside the lib. I'll see what I can do porting those over.

@mbr
Copy link
Owner

mbr commented Sep 5, 2016

Should be fixed. Please try again using 0.3.3.

@mbr mbr closed this as completed in 8f419f5 Sep 5, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants