Skip to content

Commit 9e77fd2

Browse files
authored
Update main.py
Fix: remove extra spaces in path joining for ZOTERO_IGNORE matching
1 parent 5cd4ee2 commit 9e77fd2

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)