From dd11f876737f84c64b836580f494b05ec208b132 Mon Sep 17 00:00:00 2001 From: shortcutme Date: Thu, 13 Jul 2017 15:03:04 +0200 Subject: [PATCH] Rev2148, Fix signing typo --- src/Config.py | 2 +- src/Content/ContentManager.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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)