Skip to content

Commit 03187e1

Browse files
committed
Correctly join path parts in replicate script (fixes #269)
1 parent a003121 commit 03187e1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

couchdb/tools/replicate.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ def findpath(parser, s):
4040
cut = None
4141
for i in range(0, len(parts) + 1):
4242
try:
43-
data = res.get_json(parts[:i])[2]
43+
data = res.get_json('/'.join(parts[:i]))[2]
4444
except Exception:
4545
data = None
4646
if data and 'couchdb' in data:

0 commit comments

Comments
 (0)