Skip to content

Commit ae8c745

Browse files
committed
OpenConceptLab/ocl_issues#960 | using Python 3 style super() without arguments
1 parent 6d0322c commit ae8c745

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

core/common/renderers.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ class ZippedJSONRenderer(JSONRenderer):
1212
render_style = 'binary'
1313

1414
def render(self, data, accepted_media_type=None, renderer_context=None):
15-
ret = super(ZippedJSONRenderer, self).render(data, accepted_media_type, renderer_context)
15+
ret = super().render(data, accepted_media_type, renderer_context)
1616
temp = tempfile.TemporaryFile()
1717
archive = zipfile.ZipFile(temp, 'w', zipfile.ZIP_DEFLATED)
1818
archive.writestr('export.json', ret)

0 commit comments

Comments
 (0)