Skip to content

Commit

Permalink
fix ref
Browse files Browse the repository at this point in the history
  • Loading branch information
tomkralidis committed Sep 16, 2024
1 parent 0b18061 commit 78e913d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion wis2-gdc-management/wis2_gdc/registrar.py
Original file line number Diff line number Diff line change
Expand Up @@ -484,7 +484,7 @@ def register(ctx, path, verbosity='NOTSET'):

r = Registrar()

if w2p.startswith('http'):
if isinstance(w2p, str) and w2p.startswith('http'):
metadata = requests.get(w2p).content
else:
with w2p.open() as fh:
Expand Down

0 comments on commit 78e913d

Please sign in to comment.