@@ -618,7 +618,7 @@ def sitebackup(self, data):
618618 .format (data ['site_name' ]), backup_path )
619619
620620 if data ['currsitetype' ] in ['html' , 'php' , 'proxy' , 'mysql' ]:
621- if data ['pagespeed' ] is True or data ['old_pagespeed_status' ] is True and not data ['wp' ]:
621+ if ( data ['pagespeed' ] is True or data ['old_pagespeed_status' ] is True ) and not data ['wp' ]:
622622 Log .info (self , "Backing up Webroot \t \t " , end = '' )
623623 EEFileUtils .copyfiles (self , ee_site_webroot + '/htdocs' , backup_path + '/htdocs' )
624624 Log .info (self , "[" + Log .ENDC + "Done" + Log .OKBLUE + "]" )
@@ -658,7 +658,7 @@ def sitebackup(self, data):
658658 Log .info (self , "[" + Log .ENDC + "Done" + Log .OKBLUE + "]" )
659659 # move wp-config.php/ee-config.php to backup
660660 if data ['currsitetype' ] in ['mysql' , 'proxy' ]:
661- if data ['pagespeed' ] is True or data ['old_pagespeed_status' ] is True and not data ['wp' ]:
661+ if ( data ['pagespeed' ] is True or data ['old_pagespeed_status' ] is True ) and not data ['wp' ]:
662662 EEFileUtils .copyfile (self , configfiles [0 ], backup_path )
663663 else :
664664 EEFileUtils .mvfile (self , configfiles [0 ], backup_path )
0 commit comments