Fix flake8

This commit is contained in:
Felix committed 2018-12-20 14:53:25 +01:00
1 parent b68c0183bb
commit f351b71d6a
3 files changed
+6 -6

No files matched your search

+2 -1
View File
@@ -23,7 +23,8 @@ class Cache(dict):
def __init__(self, django_folder, cache_path):
self.django_folder = django_folder
project_name = split_path(django_folder)[-2]
self.filename = os.path.join(cache_path, '{0}.pickle'.format(project_name))
self.filename = \
os.path.join(cache_path, '{0}.pickle'.format(project_name))
if not os.path.exists(os.path.dirname(self.filename)):
os.makedirs(os.path.dirname(self.filename))