Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix #725 - correctly parse tags on json import #908

Merged
merged 1 commit into from
Dec 21, 2021
Merged

Fix #725 - correctly parse tags on json import #908

merged 1 commit into from
Dec 21, 2021

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

@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
Labels
None yet
Projects
None yet
2 participants