misc: fix useless-return pylint error (#56288)

This commit is contained in:
Lauréline Guérin 2021-08-30 11:49:44 +02:00
parent d384b4dd95
commit b8d98ef862
No known key found for this signature in database
GPG Key ID: 1FAB9B9B4F93D473
1 changed files with 0 additions and 1 deletions

View File

@ -12,7 +12,6 @@ def clean_media():
for path in ('uploads', 'assets', 'page-pictures', 'pwa'):
if os.path.exists(default_storage.path(path)):
shutil.rmtree(default_storage.path(path))
return None
@pytest.fixture