Commit 035f66e2 authored by Jack Jansen's avatar Jack Jansen

The import of the scanner can also fail, cater for that.

parent 509c3ee2
...@@ -6,7 +6,10 @@ import string ...@@ -6,7 +6,10 @@ import string
def bgenone(dirname, shortname): def bgenone(dirname, shortname):
os.chdir(dirname) os.chdir(dirname)
m = __import__(shortname+'scan') try:
m = __import__(shortname+'scan')
except:
return 0
try: try:
m.main() m.main()
except: except:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment