summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Mac/scripts/bgenall.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/Mac/scripts/bgenall.py b/Mac/scripts/bgenall.py
index bb5ddcc..81200fc 100644
--- a/Mac/scripts/bgenall.py
+++ b/Mac/scripts/bgenall.py
@@ -6,7 +6,10 @@ import string
def bgenone(dirname, shortname):
os.chdir(dirname)
- m = __import__(shortname+'scan')
+ try:
+ m = __import__(shortname+'scan')
+ except:
+ return 0
try:
m.main()
except: