Fix tests, flake8 and update README

This commit is contained in:
David-Wobrock committed 2017-11-30 00:09:18 +01:00
1 parent 50ce4f4cad
commit fc8f405801
4 files changed
+24 -15

No files matched your search

+4 -2
View File
@@ -14,7 +14,7 @@
from __future__ import print_function
import os
import re
import sys
def is_django_project(path):
@@ -42,7 +42,9 @@ def find_project_settings_module(path):
for root, dirs, files in os.walk(path):
for file_name in files:
if file_name == 'settings.py':
return os.path.join(root.replace(path, ''), file_name).replace('/', '.').rstrip('.py')
return os.path.join(
root.replace(path, ''),
file_name).replace('/', '.').rstrip('.py')
def split_path(path):