fix bug in archive
This commit is contained in:
@@ -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()
|
||||
|
||||
@@ -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 $?
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user