Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 1b8bd94

Browse files
committed
The import of the scanner can also fail, cater for that.
1 parent 28f1401 commit 1b8bd94

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

Mac/scripts/bgenall.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,10 @@
66

77
def bgenone(dirname, shortname):
88
os.chdir(dirname)
9-
m = __import__(shortname+'scan')
9+
try:
10+
m = __import__(shortname+'scan')
11+
except:
12+
return 0
1013
try:
1114
m.main()
1215
except:

0 commit comments

Comments
 (0)