From e285d5f6eec7de195c8fc57b13c6acc08d2dff5f Mon Sep 17 00:00:00 2001 From: Kazuki Suzuki Przyborowski Date: Tue, 22 Oct 2024 12:49:42 -0500 Subject: [PATCH] Fixed broken functions --- pycatfile.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pycatfile.py b/pycatfile.py index 0108075..9550960 100755 --- a/pycatfile.py +++ b/pycatfile.py @@ -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) @@ -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) -- 2.11.4.GIT