aboutsummaryrefslogtreecommitdiffstats
path: root/astro/oskar/fits2skymodel.py
diff options
context:
space:
mode:
Diffstat (limited to 'astro/oskar/fits2skymodel.py')
-rwxr-xr-xastro/oskar/fits2skymodel.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/astro/oskar/fits2skymodel.py b/astro/oskar/fits2skymodel.py
index e280705..bcbb328 100755
--- a/astro/oskar/fits2skymodel.py
+++ b/astro/oskar/fits2skymodel.py
@@ -39,7 +39,7 @@ from astropy.wcs import WCS
logging.basicConfig(level=logging.INFO,
format="[%(levelname)s:%(lineno)d] %(message)s")
-logger = logging.getLogger(os.path.basename(sys.argv[0]))
+logger = logging.getLogger()
class SkyModel: