Skip to content

Commit

Permalink
It worked on my machine...
Browse files Browse the repository at this point in the history
  • Loading branch information
randomdude999 committed May 2, 2017
1 parent 92c2150 commit 80a1069
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 0 deletions.
6 changes: 6 additions & 0 deletions mcinfo/nbt.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,12 @@
import json
import textwrap

try:
# noinspection PyUnresolvedReferences,PyShadowingBuiltins
str = unicode
except NameError:
pass

nbt_all_types = ['TAG_Byte', 'TAG_Short', 'TAG_Int', 'TAG_Long', 'TAG_Float',
'TAG_Double', 'TAG_String', 'TAG_Byte_Array', 'TAG_List',
'TAG_Int_Array', 'TAG_Compound']
Expand Down
1 change: 1 addition & 0 deletions tests/test_nbt.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
from __future__ import unicode_literals
import unittest

from mcinfo import nbt
Expand Down
1 change: 1 addition & 0 deletions tests/test_normal_info.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
from __future__ import unicode_literals
import unittest

from mcinfo import normal_info
Expand Down
1 change: 1 addition & 0 deletions tests/test_recipes.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
from __future__ import unicode_literals
import unittest

from mcinfo import recipes
Expand Down

0 comments on commit 80a1069

Please sign in to comment.