fnp
/
wolnelektury.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Bugfix Tah.after_change signal handler.
[wolnelektury.git]
/
apps
/
waiter
/
utils.py
diff --git
a/apps/waiter/utils.py
b/apps/waiter/utils.py
index
0957e9d
..
68d21bd
100644
(file)
--- a/
apps/waiter/utils.py
+++ b/
apps/waiter/utils.py
@@
-1,3
+1,7
@@
+# -*- coding: utf-8 -*-
+# This file is part of Wolnelektury, licensed under GNU Affero GPLv3 or later.
+# Copyright © Fundacja Nowoczesna Polska. See NOTICE for more information.
+#
from os.path import abspath, join, exists
from shutil import rmtree
from waiter.settings import WAITER_ROOT
from os.path import abspath, join, exists
from shutil import rmtree
from waiter.settings import WAITER_ROOT
@@
-14,4
+18,3
@@
def clear_cache(path):
abs_path = check_abspath(path)
if exists(abs_path):
rmtree(abs_path)
abs_path = check_abspath(path)
if exists(abs_path):
rmtree(abs_path)
-