Manage errors from players
This commit is contained in:
parent
c309967a2b
commit
619196373e
2
pytron
2
pytron
|
@ -1 +1 @@
|
|||
Subproject commit 8d27a9293e2ffbb1119b9c3c453aec76be612a50
|
||||
Subproject commit ed3c86a2822cd23e4a3cf4b66e4483fdb129cbe1
|
|
@ -20,7 +20,10 @@ for path in [f for f in modules if isfile(f)]:
|
|||
name = toto.split('/')[-2]
|
||||
|
||||
# Find the module
|
||||
try:
|
||||
module = import_module('.'.join(toto.split('/')[-3:]))
|
||||
except:
|
||||
continue
|
||||
|
||||
# Find the constructor
|
||||
constructor = getattr(module, 'Ai')
|
||||
|
|
Loading…
Reference in New Issue