Skip to content

Commit a1630db

Browse files
if -> elif
1 parent b7bb6ea commit a1630db

File tree

1 file changed

+1
-1
lines changed
  • mongodb_consistent_backup/Pipeline

1 file changed

+1
-1
lines changed

mongodb_consistent_backup/Pipeline/Task.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ def compression(self, method=None):
4141
def is_compressed(self):
4242
if self.compression() == 'auto' and hasattr(self, "can_compress"):
4343
return self.can_compress()
44-
if self.compression() != 'none':
44+
elif self.compression() != 'none':
4545
return True
4646
return False
4747

0 commit comments

Comments
 (0)