Skip to content

Commit

Permalink
Merge pull request #69 from golnazads/master
Browse files Browse the repository at this point in the history
fixing protobuf
  • Loading branch information
golnazads authored Sep 2, 2021
2 parents 37be903 + f2961e7 commit dfc8f25
Show file tree
Hide file tree
Showing 6 changed files with 98 additions and 94 deletions.
2 changes: 1 addition & 1 deletion adsmsg/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
from .fulltext_update import FulltextUpdate
from .metrics_record import MetricsRecord, \
MetricsRecordList
from .nonbibrecord import NonBibRecord,\
from .nonbibrecord import NonBibRecord, \
NonBibRecordList, \
DataLinksRecord, \
DataLinksRecordList
Expand Down
2 changes: 1 addition & 1 deletion adsmsg/master.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ def __init__(self, *args, **kwargs):
if links:
link_record = instance.links
for key in links.keys():
if isinstance(links[key], str) or isinstance(links[key], bool):
if isinstance(links[key], bool):
setattr(link_record, key, links[key])
elif isinstance(links[key], list):
if key == 'ARXIV':
Expand Down
39 changes: 19 additions & 20 deletions adsmsg/protobuf/master_pb2.py

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit dfc8f25

Please sign in to comment.