Fix #725 - correctly parse tags on json import by hannah98 · Pull Request #908 · ArchiveBox/ArchiveBox

Skip to content

Navigation Menu

Sign in

Appearance settings

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up

Appearance settings

Merged

pirate merged 1 commit intoArchiveBox:devfrom

hannah98:dev

Dec 21, 2021

Merged

Conversation

@hannah98

Copy link

Contributor

Summary

This PR fixes #725 - instead of tags being split on each character, this fix mimics a code block further down in the same file to create a list of tags first before calling the save_tags() method.

tag_set = (
set(tag.strip() for tag in (link.tags or '').split(','))
)

Related issues

#725

Changes these areas

  • Bugfixes
  • Feature behavior
  • Command line interface
  • Configuration options
  • Internal architecture
  • Snapshot data layout on disk
pirate reacted with thumbs up emoji pirate reacted with hooray emoji pirate reacted with heart emoji pirate reacted with rocket emoji

@lgtm-com

Copy link

lgtm-com bot commented

Dec 20, 2021

This pull request introduces 1 alert when merging 4b8962b into 9899377 - view on LGTM.com

new alerts:

  • 1 for Unused local variable

@pirate

Copy link

Member

pirate commented

Dec 21, 2021

Thanks @hannah98 !!!

@pirate pirate merged commit f363738 into ArchiveBox:dev

Dec 21, 2021

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

No reviews

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

2 participants

@hannah98 @pirate