mirror of
https://github.com/BOSWatch/BW3-Core.git
synced 2026-04-05 06:15:31 +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)
|
logging.error("unknown type '%s' in %s", routeType, route)
|
||||||
return False
|
return False
|
||||||
|
|
||||||
except ModuleNotFoundError:
|
# except ModuleNotFoundError: # only since Py3.6
|
||||||
|
except ImportError:
|
||||||
logging.error("%s not found: %s", route.get("type"), route.get("name"))
|
logging.error("%s not found: %s", route.get("type"), route.get("name"))
|
||||||
return False
|
return False
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue