Skip to content

Commit

Permalink
Fixed broken functions
Browse files Browse the repository at this point in the history
  • Loading branch information
KazukiPrzyborowski committed Oct 22, 2024
1 parent dfe6fee commit e285d5f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pycatfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -9148,7 +9148,7 @@ def upload_file_to_internet_file(ifp, url):
return False


def upload_file_to_internet_compress_file(ifp, url, formatspecs=__file_format_dict__):
def upload_file_to_internet_compress_file(ifp, url, compression="auto", compressionlevel=None, formatspecs=__file_format_dict__):
formatspecs = FormatSpecsListToDict(formatspecs)
catfp = CompressArchiveFile(
catfp, compression, compressionlevel, formatspecs)
Expand All @@ -9175,7 +9175,7 @@ def upload_file_to_internet_string(ifp, url):
return False


def upload_file_to_internet_compress_string(ifp, url, formatspecs=__file_format_dict__):
def upload_file_to_internet_compress_string(ifp, url, compression="auto", compressionlevel=None, formatspecs=__file_format_dict__):
formatspecs = FormatSpecsListToDict(formatspecs)
catfp = CompressArchiveFile(
BytesIO(ifp), compression, compressionlevel, formatspecs)
Expand Down

0 comments on commit e285d5f

Please sign in to comment.