diff --git a/.github/workflows/Auto_Test_Upload.yaml b/.github/workflows/Auto_Test_Upload.yaml index 91f3954..a1ae5a9 100644 --- a/.github/workflows/Auto_Test_Upload.yaml +++ b/.github/workflows/Auto_Test_Upload.yaml @@ -73,7 +73,7 @@ jobs: runs-on: [ubuntu-latest] needs: [Python-Lint-Full, Git-Subsystem-Manager] strategy: - max-parallel: 5 + max-parallel: 1 steps: - uses: actions/checkout@v4 diff --git a/Webserver/Programs/File_manager/file_manager.py b/Webserver/Programs/File_manager/file_manager.py index 951e8f8..baa0b25 100644 --- a/Webserver/Programs/File_manager/file_manager.py +++ b/Webserver/Programs/File_manager/file_manager.py @@ -205,7 +205,7 @@ def upload_to_midori_ai(data: bytes): if go_on: encrypted_data = encrypt_user_data(data, username, salt) - with open(encrypted_tar_file, "xb") as f: + with open(encrypted_tar_file, "wb") as f: f.write = encrypted_data try: