mirror of
https://github.com/BOSWatch/BW3-Core.git
synced 2026-04-04 13:57:44 +00:00
fix pyflakes py3.5 build
This commit is contained in:
parent
7d2e7597f7
commit
3dddcdcff2
1 changed files with 2 additions and 1 deletions
|
|
@ -89,7 +89,8 @@ class RouterManager:
|
|||
logging.error("unknown type '%s' in %s", routeType, route)
|
||||
return False
|
||||
|
||||
except ModuleNotFoundError:
|
||||
# except ModuleNotFoundError: # only since Py3.6
|
||||
except ImportError:
|
||||
logging.error("%s not found: %s", route.get("type"), route.get("name"))
|
||||
return False
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue