IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
May 10, 2012, 10:47:48 AM (14 years ago)
Author:
rhenders
Message:

fixed bug where 'null' dvoLabel breaks certain queries

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/ippToPsps/jython/ipptopspsdb.py

    r33795 r33858  
    973973            else: self.config.datastorePublishing = False
    974974            self.config.dvoLabel = rs.getString(4)
     975
     976            # if dvoLabel is null is can break queries, so set to something
     977            if not self.config.dvoLabel: self.config.dvoLabel = "none"
    975978            self.config.dvoLocation = rs.getString(5)
    976979            self.config.minRa = rs.getDouble(6)
Note: See TracChangeset for help on using the changeset viewer.