No reason to do this lmao

Signed-off-by: fbt <fbt@fleshless.org>
This commit is contained in:
2026-11-27 21:15:50 +00:00
parent e66c83e4ee
commit 9b8cc5b50b
-6
View File
@@ -61,10 +61,6 @@ usage() {
EOF
}
get_file_hash() {
read file_hash _ < <( sha1sum "$1" )
}
get_max_filesize() {
if [[ $cfg_max_filesize =~ ^[0-9]+[BKMG]?$ ]]; then
max_filesize_base="${cfg_max_filesize//[BKMG]/}"
@@ -136,8 +132,6 @@ upload() {
}
fi
get_file_hash "$file"
if [[ "$album_name" ]]; then
get_album_id "$album_name"
fi