mirror of
https://codeberg.org/rimu/pyfedi
synced 2025-01-23 11:26:56 -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,8 +259,9 @@ def test():
|
|||
os.unlink(file.file_path)
|
||||
deleted += 1
|
||||
file.file_path = ''
|
||||
db.session.commit()
|
||||
|
||||
|
||||
db.session.commit()
|
||||
|
||||
return str(deleted) + ' done'
|
||||
|
||||
|
|
Loading…
Reference in a new issue