Skip to content

Commit

Permalink
bug fix: wp staging
Browse files Browse the repository at this point in the history
  • Loading branch information
usmannasir committed May 17, 2020
1 parent 354179d commit 4d92f10
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion websiteFunctions/StagingSetup.py
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 4d92f10

Please sign in to comment.