missing import
This commit is contained in:
@@ -19,6 +19,7 @@ from utils.files import (
|
|||||||
db_store_file,
|
db_store_file,
|
||||||
file_details,
|
file_details,
|
||||||
file_list,
|
file_list,
|
||||||
|
file_list_simple,
|
||||||
file_full_path,
|
file_full_path,
|
||||||
file_full_url,
|
file_full_url,
|
||||||
db_add_download,
|
db_add_download,
|
||||||
|
|||||||
@@ -53,10 +53,6 @@ _list() {
|
|||||||
curl -fL -w "\n" -s -H "Secret: $MFL_TOKEN" "$MFL_ROOTURL"/ls
|
curl -fL -w "\n" -s -H "Secret: $MFL_TOKEN" "$MFL_ROOTURL"/ls
|
||||||
}
|
}
|
||||||
|
|
||||||
#~ _simple_list() {
|
|
||||||
#~ curl -fL -w "\n" -s -H "Secret: $MFL_TOKEN" "$MFL_ROOTURL"/ls | sed 's/.*http/http/' | tail -n +3
|
|
||||||
#~ }
|
|
||||||
|
|
||||||
_write() {
|
_write() {
|
||||||
# stdin is open
|
# stdin is open
|
||||||
[ -t 0 ] || {
|
[ -t 0 ] || {
|
||||||
|
|||||||
Reference in New Issue
Block a user