kopia lustrzana https://github.com/rtts/django-simplecms
[ no commit message supplied ]
rodzic
1e503349d6
commit
a9b4d5dfb3
|
@ -4,7 +4,6 @@ from django.conf import settings
|
|||
|
||||
def locate(filename):
|
||||
for path, dirs, files in os.walk(os.getcwd(), followlinks=True):
|
||||
print(dirs)
|
||||
for f in files:
|
||||
if f == filename:
|
||||
return os.path.join(path, filename)
|
||||
|
|
Ładowanie…
Reference in New Issue