Fix type of minimum_similarity configuration option
This commit is contained in:
parent
b98d473cc4
commit
436342c730
1 changed files with 1 additions and 1 deletions
|
@ -40,7 +40,7 @@ class ExtractPlugin(PapersPlugin):
|
|||
# or `:: {annotation} :: {page} ::`
|
||||
# and so on
|
||||
self.onimport = conf["plugins"].get("extract", {}).get("onimport", False)
|
||||
self.minimum_similarity = conf["plugins"].get("extract", {}).get("minimum_similarity", 0.75)
|
||||
self.minimum_similarity = float(conf["plugins"].get("extract", {}).get("minimum_similarity", 0.75))
|
||||
|
||||
def update_parser(self, subparsers, conf):
|
||||
"""Allow the usage of the pubs extract subcommand"""
|
||||
|
|
Loading…
Reference in a new issue