Skip to content

Commit

Permalink
tiny modifications in citations module
Browse files Browse the repository at this point in the history
  • Loading branch information
peterstangl committed Mar 7, 2021
1 parent b99c2ae commit 2e3625a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion flavio/citations.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ class Citations:
__all_citations = set(yaml.safe_load(
pkgutil.get_data('flavio', 'data/citations.yml')
))
__name__ = __name__

def __init__(self, initial_citations=[]):
self._initial_citations = set(initial_citations)
Expand Down Expand Up @@ -58,7 +59,7 @@ def register(self, inspire_key):
should be called only when the referenced functionality is actually being used.
Parameters
----------
key : str
inspire_key : str
The INSPIRE texkey for the paper to be cited
"""
try:
Expand Down

0 comments on commit 2e3625a

Please sign in to comment.