Skip to content

Commit

Permalink
Double slash is no good.
Browse files Browse the repository at this point in the history
  • Loading branch information
PeterKraus committed Nov 14, 2024
1 parent 9c5a2ce commit 890e219
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions beam/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
__all__ = ("extract", "Extractor")
__version__ = importlib.metadata.version("datatractor-beam")

REGISTRY_BASE_URL = "https://yard.datatractor.org/api/"
REGISTRY_BASE_URL = "https://yard.datatractor.org/api"
BIN = "Scripts" if platform.system() == "Windows" else "bin"


Expand Down Expand Up @@ -172,8 +172,9 @@ def extract(
if preferred_mode != SupportedExecutionMethod(usage["method"]):
continue
if (
input_type in usage["supported_filetypes"]
usage["supported_filetypes"] is None
or usage["supported_filetypes"] == []
or input_type in usage["supported_filetypes"]
):
print(f"Found matching usage with extractor: {extractor!r}")
break
Expand Down

0 comments on commit 890e219

Please sign in to comment.