Skip to content

Commit

Permalink
bug fix: backup
Browse files Browse the repository at this point in the history
  • Loading branch information
usmannasir committed Jan 31, 2024
1 parent fdcb782 commit 191f007
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion plogical/backupUtilities.py
Original file line number Diff line number Diff line change
Expand Up @@ -814,10 +814,14 @@ def startRestore(backupName, dir):
try:
version = backupMetaData.find('VERSION').text
build = backupMetaData.find('BUILD').text
BackupWholeDir = int(backupMetaData.find('BackupWholeDir').text)

twoPointO = 1
except:
twoPointO = 0

try:
BackupWholeDir = int(backupMetaData.find('BackupWholeDir').text)
except:
BackupWholeDir = 0

result = backupUtilities.createWebsiteFromBackup(backupName, dir)
Expand Down

0 comments on commit 191f007

Please sign in to comment.