Skip to content

Commit

Permalink
fix: addon_utils import error
Browse files Browse the repository at this point in the history
  • Loading branch information
lekoOwO committed Apr 5, 2021
1 parent d2b2f4c commit 3d64aca
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion addons/addon_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -57,4 +57,5 @@ def encode_multipart_formdata(fields):
return content_type, body

if hasattr(utils, "compress_file"):
compress_file = utils.compress_file
def compress_file(*args, **kwargs):
return utils.compress_file(*args, **kwargs)

0 comments on commit 3d64aca

Please sign in to comment.