Skip to content
Permalink
Browse files
bug fix: wp staging
  • Loading branch information
usmannasir committed May 17, 2020
1 parent 354179d commit 4d92f10b3076a3e6f2894f7a5067405423183372
Showing 1 changed file with 1 addition and 1 deletion.
@@ -251,7 +251,7 @@ def startSyncing(self):
data = open(configPath, 'r').readlines()

for items in data:
if items.find('DB_NAME') > -1:
if items.find('DB_NAME') > -1 and items[0] != '/':
dbNameRestore = items.split("'")[3]
if not mysqlUtilities.restoreDatabaseBackup(dbNameRestore, '/home/cyberpanel', None, 1, dbName):
try:

0 comments on commit 4d92f10

Please sign in to comment.