Skip to content

Commit

Permalink
bugfix: --rename and --copy not passed to add bibtex
Browse files Browse the repository at this point in the history
  • Loading branch information
perrette committed Jun 23, 2023
1 parent afc678c commit df77639
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion papers/__main__.py
Original file line number Diff line number Diff line change
Expand Up @@ -538,7 +538,7 @@ def addcmd(parser, o, config):
**kw)

else: # file.endswith('.bib'):
biblio.add_bibtex_file(file, attachments=o.attachment, **kw)
biblio.add_bibtex_file(file, attachments=o.attachment, rename=o.rename, copy=o.copy, **kw)

except Exception as error:
# print(error)
Expand Down

0 comments on commit df77639

Please sign in to comment.