Skip to content

Commit 0190ac0

Browse files
authored
Merge pull request #60 from a36624705/main
Fix: remove extra spaces in path joining for ZOTERO_IGNORE matching
2 parents 5cd4ee2 + 9e77fd2 commit 0190ac0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

main.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ def get_zotero_corpus(id:str,key:str) -> list[dict]:
2424
corpus = [c for c in corpus if c['data']['abstractNote'] != '']
2525
def get_collection_path(col_key:str) -> str:
2626
if p := collections[col_key]['data']['parentCollection']:
27-
return get_collection_path(p) + ' / ' + collections[col_key]['data']['name']
27+
return get_collection_path(p) + '/' + collections[col_key]['data']['name']
2828
else:
2929
return collections[col_key]['data']['name']
3030
for c in corpus:

0 commit comments

Comments
 (0)