diff options
-rwxr-xr-x | astro/query_ned.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/astro/query_ned.py b/astro/query_ned.py index 6bfb1ff..30791fd 100755 --- a/astro/query_ned.py +++ b/astro/query_ned.py @@ -49,7 +49,7 @@ def query_name(name, verbose=False): """ try: q = Ned.query_object(name) - objname = q["Object Name"][0].decode("utf-8") + objname = q["Object Name"][0] objtype = q["Type"][0].decode("utf-8") ra = q["RA(deg)"][0] dec = q["DEC(deg)"][0] |