bug fix: wp staging

This commit is contained in:
Usman Nasir
2020-01-07 12:41:32 +05:00
parent b595576bb1
commit c2e37f30bc
3 changed files with 8 additions and 5 deletions

View File

@@ -88,6 +88,8 @@ class StagingSetup(multi.Thread):
data = open(configPath, 'r').readlines()
logging.writeToFile(str(type(data)))
for items in data:
if items.find('DB_NAME') > -1:
try:
@@ -161,7 +163,7 @@ class StagingSetup(multi.Thread):
return 0
except BaseException as msg:
mesg = '%s. [404]' % (str(msg))
mesg = '%s. [168][404]' % (str(msg))
logging.statusWriter(self.tempStatusPath, mesg)
def startSyncing(self):