Skip to content

Commit

Permalink
Fix python 3 bug
Browse files Browse the repository at this point in the history
  • Loading branch information
mwcraig committed Jul 18, 2017
1 parent cd9607b commit 6acd494
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion msumastro/header_processing/astrometry.py
Expand Up @@ -76,7 +76,7 @@ def call_astrometry(filename, sextractor=False,
"--scale-low 0.4 --scale-high 0.6 --scale-units arcsecperpix")

if additional_args is not None:
if isinstance(additional_args, basestring):
if isinstance(additional_args, six.string_types):
add_ons = [additional_args]
else:
add_ons = additional_args
Expand Down

0 comments on commit 6acd494

Please sign in to comment.