Skip to content

Commit

Permalink
Fixed parsing of 'None' in list of sources
Browse files Browse the repository at this point in the history
  • Loading branch information
jlenain committed Sep 12, 2017
1 parent 27b5aab commit ecddae1
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion flaapluc/automaticLightCurve.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#!/usr/bin/env python
# -*- coding: utf-8 -*-
#
# Time-stamp: "2017-08-03 17:54:54 jlenain"
# Time-stamp: "2017-09-12 09:04:02 jlenain"

"""
FLaapLUC (Fermi/LAT automatic aperture photometry Light C<->Urve)
Expand Down Expand Up @@ -470,6 +470,8 @@ def readSourceList(self, mysrc=None):
self.dec = dec[i]
self.z = z[i]
self.fglName = fglName[i]
if self.fglName == 'None':
self.fglName = None
return

# If we end up without any found source, print out a WARNING
Expand Down

0 comments on commit ecddae1

Please sign in to comment.