From 570e7b89ebce22f97d015c9e96b81759d2f29929 Mon Sep 17 00:00:00 2001 From: Geert Barentsen Date: Thu, 24 Mar 2016 09:46:53 -0700 Subject: [PATCH] Fixes code typo --- k2mosaic/k2mosaic.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/k2mosaic/k2mosaic.py b/k2mosaic/k2mosaic.py index 600910e..767d9da 100644 --- a/k2mosaic/k2mosaic.py +++ b/k2mosaic/k2mosaic.py @@ -119,7 +119,7 @@ def k2_tpf_urls_by_campaign(campaign, channel=None, obsmode="LC", base_url=K2_TP urls = [k2_tpf_url(entry['K2 ID'], campaign, obsmode, base_url) for entry in resp.json()] return urls - except ValueErroras: + except ValueError: raise MosaicException("Error: no data found for these parameters.")