Reduce indentation

main
Jaap Joris Vens 2020-09-13 23:16:38 +02:00
rodzic 43c4cd281c
commit 3c8d5f6afe
1 zmienionych plików z 10 dodań i 11 usunięć

Wyświetl plik

@ -32,8 +32,7 @@ class SassMiddleware:
css_file = request.path.rsplit('/',1)[1]
sass_file = css_file[:-4]
sass_paths = locate(sass_file)
if sass_paths:
for sass_path in sass_paths:
for sass_path in list(sass_paths):
if os.path.exists(sass_path):
css_path = sass_path + '.css'
map_path = css_path + '.map'