singletonize Hashstore.

This commit is contained in:
chris 2014-02-09 21:20:21 +01:00
parent db48e94fb6
commit b7d26d1d3d
1 changed files with 1 additions and 0 deletions

View File

@ -209,6 +209,7 @@ class Page(Post):
self.link = "{}{}".format(config.blogurl, self.outfile)
@singleton
class Hashstore(object):
""" store file hashes in a json file """
def __init__(self, jsonfile):