did some things Philip told me to do (postResults for spectral files is now working without MSC installation)

This commit is contained in:
Martin Diehl 2011-02-22 16:18:47 +00:00
parent 003b0def46
commit 3c944e79fa
1 changed files with 5 additions and 3 deletions

View File

@ -648,10 +648,12 @@ for release,subdirs in sorted(releases.items(),reverse=True):
try: try:
from py_mentat import * from py_mentat import *
except: except:
if options.filetype == 'marc': if options.filetype.lower() == 'marc':
print('no valid Mentat release found in %s'%MSCpath) print('no valid Mentat release found in %s'%MSCpath)
sys.exit(-1) sys.exit(-1)
else:
def post_open():
return True
bg = backgroundMessage() bg = backgroundMessage()
bg.start() bg.start()