From 8bf9b80dffaec445e6007902c5863a95c0aa072d Mon Sep 17 00:00:00 2001 From: Ville Rantanen Date: Thu, 11 Apr 2024 19:29:45 +0300 Subject: [PATCH] fix bug in archive --- code/app.py | 2 +- code/templates/mfl | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/code/app.py b/code/app.py index c2afe93..695ab2c 100644 --- a/code/app.py +++ b/code/app.py @@ -45,7 +45,7 @@ logging.basicConfig( format=f"[%(asctime)s] [%(levelname)s] %(message)s", ) -__VERSION__ = "20240114.0" +__VERSION__ = "20240411.0" app = Flask(__name__) app.config.from_object(__name__) app.config.from_prefixed_env() diff --git a/code/templates/mfl b/code/templates/mfl index 4727cdc..5c9dec8 100755 --- a/code/templates/mfl +++ b/code/templates/mfl @@ -91,7 +91,7 @@ _write() { [[ -d "$FILE" ]] && { [[ "${NAME,,}" = *".tar" ]] || NAME="${NAME}".tar - tar c "$2" | _write_stdin "$NAME" + tar c "$FILE" | _write_stdin "$NAME" return $? }