Skip to content

Commit

Permalink
Fix
Browse files Browse the repository at this point in the history
  • Loading branch information
giadarol committed Sep 30, 2022
1 parent b55d4ee commit ffa8c7b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion xobjects/typeutils.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ def get_a_buffer(context=None, buffer=None, size=None):
if buffer is None:
if context is None:
context = context_default
buffer = context.new_buffer(size)
return context.new_buffer(size)
else:
return buffer

Expand Down

0 comments on commit ffa8c7b

Please sign in to comment.