Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
mlin committed Jan 31, 2022
1 parent e10f2d4 commit 22a5413
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion WDL/Bundle.py
Original file line number Diff line number Diff line change
Expand Up @@ -115,10 +115,10 @@ def decode(bundle: str) -> Dict[str, Any]:
"""
Decode bundle text (auto-detects YAML or compressed)
"""
bundle = bundle.strip()

if not detect(bundle):
raise Error.InputError("input is not a WDL bundle")
bundle = bundle.strip()

if bundle.startswith(COMPRESSED_MAGIC):
import lzma
Expand Down

0 comments on commit 22a5413

Please sign in to comment.