Fix by aggressiveness.
This commit is contained in:
parent
3ce4a393d1
commit
d700ec156a
|
@ -42,6 +42,7 @@ def thumbnail_url(link):
|
|||
|
||||
def setup_directory_structure(settings, base_dir, template_dir):
|
||||
site_new_dir = os.path.join(base_dir, 'site-new')
|
||||
shutil.rmtree(site_new_dir)
|
||||
os.mkdir(site_new_dir)
|
||||
extern_dir_site = os.path.join(site_new_dir, 'extern')
|
||||
os.symlink(os.path.join('..', 'extern'), extern_dir_site)
|
||||
|
|
Loading…
Reference in New Issue