misc: fix useless-return pylint error (#56288)
This commit is contained in:
parent
d384b4dd95
commit
b8d98ef862
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue