diff --git a/src/Config.py b/src/Config.py index 12a32445..478a4abb 100644 --- a/src/Config.py +++ b/src/Config.py @@ -10,7 +10,7 @@ class Config(object): def __init__(self, argv): self.version = "0.5.6" - self.rev = 2147 + self.rev = 2148 self.argv = argv self.action = None self.config_file = "zeronet.conf" diff --git a/src/Content/ContentManager.py b/src/Content/ContentManager.py index acbdff2f..14f435d0 100644 --- a/src/Content/ContentManager.py +++ b/src/Content/ContentManager.py @@ -489,7 +489,7 @@ class ContentManager(object): def hashFiles(self, dir_inner_path, ignore_pattern=None, optional_pattern=None): files_node = {} files_optional_node = {} - if not isValidRelativePath(dir_inner_path): + if not self.isValidRelativePath(dir_inner_path): ignored = True self.log.error("- [ERROR] Only ascii encoded directories allowed: %s" % dir_inner_path)