fix bug in archive

This commit is contained in:
Ville Rantanen
2024-04-11 19:29:45 +03:00
parent 7c02ca1956
commit 8bf9b80dff
2 changed files with 2 additions and 2 deletions

View File

@@ -45,7 +45,7 @@ logging.basicConfig(
format=f"[%(asctime)s] [%(levelname)s] %(message)s", format=f"[%(asctime)s] [%(levelname)s] %(message)s",
) )
__VERSION__ = "20240114.0" __VERSION__ = "20240411.0"
app = Flask(__name__) app = Flask(__name__)
app.config.from_object(__name__) app.config.from_object(__name__)
app.config.from_prefixed_env() app.config.from_prefixed_env()

View File

@@ -91,7 +91,7 @@ _write() {
[[ -d "$FILE" ]] && { [[ -d "$FILE" ]] && {
[[ "${NAME,,}" = *".tar" ]] || NAME="${NAME}".tar [[ "${NAME,,}" = *".tar" ]] || NAME="${NAME}".tar
tar c "$2" | _write_stdin "$NAME" tar c "$FILE" | _write_stdin "$NAME"
return $? return $?
} }