Skip to content

Commit 9092a13

Browse files
committed
Python 3 bugfix
1 parent 89cb13d commit 9092a13

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

django_react/services/__init__.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,4 @@ def render(self, path_to_source, serialized_props, to_static_markup):
2020
except NodeServiceError as e:
2121
six.reraise(ComponentRenderingError, ComponentRenderingError(*e.args), sys.exc_info()[2])
2222

23-
markup = response.text.encode('utf-8')
24-
25-
return markup
23+
return response.text

0 commit comments

Comments
 (0)