Skip to content

Commit

Permalink
main fix for #796 mirroring totally busted.
Browse files Browse the repository at this point in the history
  • Loading branch information
petersilva committed Oct 26, 2023
1 parent 371e54a commit 9dcf876
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sarracenia/flow/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -912,7 +912,7 @@ def updateFieldsAccepted(self, msg, urlstr, pattern, maskDir,
toclimb=len(token)-1
msg['fileOp'][f] = '../'*(toclimb) + msg['fileOp'][f]

if len(token) > 1:
if self.o.mirror and len(token) > 1:
new_dir = new_dir + '/' + '/'.join(token[:-1])

new_dir = self.o.variableExpansion(new_dir, msg)
Expand Down

0 comments on commit 9dcf876

Please sign in to comment.