mirror of
https://github.com/BOSWatch/BW3-Core.git
synced 2026-02-02 05:34:30 +01:00
fix pyflakes py3.5 build
This commit is contained in:
parent
7d2e7597f7
commit
3dddcdcff2
|
|
@ -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…
Reference in a new issue