IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Oct 1, 2013, 4:19:32 PM (13 years ago)
Author:
watersc1
Message:

Fixing inconsistency between calls so that they hopefully now both work.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/ippm/FilesMonitoring/scripts/update_table.py

    r35985 r36177  
    77import datetime
    88import hashlib
    9 from ipp.lifetime_templates import Template
     9try:
     10    from lifetime_templates import Template
     11except ImportError:
     12    sys.path.append('%s/%s/share/filemon/' % (os.environ['PSCONFDIR'], os.environ['PSCONFIG']))
     13    sys.stderr.write('ImportError')
     14    for folder in sys.path:
     15        sys.stderr.write('\t%s\n' % folder)
     16    from lifetime_templates import Template
    1017
    1118def md5sum(filename):
Note: See TracChangeset for help on using the changeset viewer.