Commit 7c41d0d6 authored by Taddeus Kroes's avatar Taddeus Kroes

Changed method name.

parent 88d6379f
......@@ -157,15 +157,15 @@ class Cache:
return self.cached + h.hexdigest()
def concatenate(self):
contents = ''
def content(self):
content = ''
for path in self.files:
f = open(path, 'r')
contents += f.read()
content += f.read()
f.close()
return contents
return content
def output(self):
""""""
......@@ -191,7 +191,7 @@ class Cache:
if server_modified:
self.save_administration(admin)
content = self.concatenate()
content = self.content()
f = open(path, 'w')
f.write(content)
f.close()
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment