forked from MarseyWorld/MarseyWorld
remove unused legacy function
parent
a66f0291d8
commit
2cf9c7560f
|
@ -29,11 +29,6 @@ def process_files():
|
||||||
return body
|
return body
|
||||||
|
|
||||||
|
|
||||||
def process_other(file):
|
|
||||||
req = requests.post("https://pomf2.lain.la/upload.php", files={'files[]': file}, timeout=20).json()
|
|
||||||
return req['files'][0]['url']
|
|
||||||
|
|
||||||
|
|
||||||
def process_audio(file):
|
def process_audio(file):
|
||||||
name = f'/audio/{time.time()}'.replace('.','')
|
name = f'/audio/{time.time()}'.replace('.','')
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue