From 697b12d808d42f93865c754ed0bea57aa99b12ec Mon Sep 17 00:00:00 2001 From: Vadim Ushakov Date: Wed, 4 Nov 2020 22:13:21 +0700 Subject: [PATCH] Fix naming. verifyContentJson() should be verifyContentFile() --- src/Content/ContentManager.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Content/ContentManager.py b/src/Content/ContentManager.py index 5fe80952..2283c91b 100644 --- a/src/Content/ContentManager.py +++ b/src/Content/ContentManager.py @@ -925,7 +925,7 @@ class ContentManager(object): return True # All good - def verifyContentJson(self, inner_path, file, ignore_same=True): + def verifyContentFile(self, inner_path, file, ignore_same=True): from Crypt import CryptBitcoin if type(file) is dict: @@ -1020,7 +1020,7 @@ class ContentManager(object): def verifyFile(self, inner_path, file, ignore_same=True): try: if inner_path.endswith("content.json"): - return self.verifyContentJson(inner_path, file, ignore_same) + return self.verifyContentFile(inner_path, file, ignore_same) else: return self.verifyOrdinaryFile(inner_path, file, ignore_same) except Exception as err: