Skip to content

Commit

Permalink
Missed a spot!
Browse files Browse the repository at this point in the history
  • Loading branch information
Dessix committed Aug 7, 2017
1 parent 5c59034 commit 9b3b4fd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion screeps_console/interactive.py
Original file line number Diff line number Diff line change
Expand Up @@ -290,7 +290,7 @@ def onUpdate(self, data):
self.buffer += data.decode("utf-8")
return
if len(self.buffer) > 0:
data = self.buffer + data
data = self.buffer + data.decode("utf-8")
self.buffer = ''
data_lines = data.decode("utf-8").rstrip().split('\n')
for line_json in data_lines:
Expand Down

0 comments on commit 9b3b4fd

Please sign in to comment.