IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Jul 22, 2011, 3:43:42 PM (15 years ago)
Author:
rhenders
Message:

was looking for wrong file extension when getting smf files

File:
1 edited

Legend:

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

    r31860 r31919  
    211211        path = path[0:path.rfind("/")]
    212212       
    213         # list all cmf files if a neb path
     213        # list all smf files if a neb path
    214214        files = []
    215215        if path.startswith("neb"):
     
    221221        # or not a neb path
    222222        else:
    223             files = glob.glob(path + "/*.cmf")
     223            files = glob.glob(path + "/*.smf")
    224224
    225225        if len(files) < 1: return "NULL"
Note: See TracChangeset for help on using the changeset viewer.