Skip to content

Commit ea3c37d

Browse files
committed
fix bytes
1 parent 44c2780 commit ea3c37d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

astroquery/sdss/core.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -862,7 +862,7 @@ def _parse_result(self, response, verbose=False):
862862
if 'error_message' in io.BytesIO(response.content):
863863
raise RemoteServiceError(response.content)
864864
skip_header = 0
865-
if response.content.startswith('#Table'):
865+
if response.content.startswith(b'#Table'):
866866
skip_header = 1
867867
arr = np.atleast_1d(np.genfromtxt(io.BytesIO(response.content),
868868
names=True, dtype=None,

0 commit comments

Comments
 (0)