singletonize Hashstore.
This commit is contained in:
parent
db48e94fb6
commit
b7d26d1d3d
1 changed files with 1 additions and 0 deletions
|
@ -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):
|
||||
|
|
Reference in a new issue