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,8 +259,9 @@ def test():
|
||||||
os.unlink(file.file_path)
|
os.unlink(file.file_path)
|
||||||
deleted += 1
|
deleted += 1
|
||||||
file.file_path = ''
|
file.file_path = ''
|
||||||
|
db.session.commit()
|
||||||
|
|
||||||
|
|
||||||
db.session.commit()
|
|
||||||
|
|
||||||
return str(deleted) + ' done'
|
return str(deleted) + ' done'
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue