Commit 4829e3d3 authored by Michal Čihař's avatar Michal Čihař

Call this as a bound method

Signed-off-by: default avatarMichal Čihař <michal@cihar.com>
parent 70602e65
......@@ -67,7 +67,7 @@ class StringIOMode(BytesIO):
StringIO with mode attribute to make ttkit happy.
"""
def __init__(self, filename, data):
super(StringIOMode, self).__init__(self, data)
super(StringIOMode, self).__init__(data)
self.mode = 'r'
self.name = filename
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment