Fix naming. verifyContentJson() should be verifyContentFile()
This commit is contained in:
parent
570f854485
commit
697b12d808
1 changed files with 2 additions and 2 deletions
|
@ -925,7 +925,7 @@ class ContentManager(object):
|
||||||
|
|
||||||
return True # All good
|
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
|
from Crypt import CryptBitcoin
|
||||||
|
|
||||||
if type(file) is dict:
|
if type(file) is dict:
|
||||||
|
@ -1020,7 +1020,7 @@ class ContentManager(object):
|
||||||
def verifyFile(self, inner_path, file, ignore_same=True):
|
def verifyFile(self, inner_path, file, ignore_same=True):
|
||||||
try:
|
try:
|
||||||
if inner_path.endswith("content.json"):
|
if inner_path.endswith("content.json"):
|
||||||
return self.verifyContentJson(inner_path, file, ignore_same)
|
return self.verifyContentFile(inner_path, file, ignore_same)
|
||||||
else:
|
else:
|
||||||
return self.verifyOrdinaryFile(inner_path, file, ignore_same)
|
return self.verifyOrdinaryFile(inner_path, file, ignore_same)
|
||||||
except Exception as err:
|
except Exception as err:
|
||||||
|
|
Loading…
Reference in a new issue