mirror of
https://codeberg.org/rimu/pyfedi
synced 2025-02-03 00:31:25 -08:00
reduce storage usage by user banners
This commit is contained in:
parent
639d920d05
commit
7d99d5ea9d
1 changed files with 2 additions and 1 deletions
|
@ -259,9 +259,10 @@ def test():
|
|||
os.unlink(file.file_path)
|
||||
deleted += 1
|
||||
file.file_path = ''
|
||||
|
||||
db.session.commit()
|
||||
|
||||
|
||||
|
||||
return str(deleted) + ' done'
|
||||
|
||||
return current_app.config['SERVER_NAME']
|
||||
|
|
Loading…
Add table
Reference in a new issue