diff --git a/16_reinforcement_learning.ipynb b/16_reinforcement_learning.ipynb index 9f84245..c6b6da9 100644 --- a/16_reinforcement_learning.ipynb +++ b/16_reinforcement_learning.ipynb @@ -571,7 +571,7 @@ "try:\n", " from pyglet.gl import gl_info\n", " openai_cart_pole_rendering = True # no problem, let's use OpenAI gym's rendering function\n", - "except ImportError:\n", + "except Exception:\n", " openai_cart_pole_rendering = False # probably running on binder, let's use our own rendering function\n", "\n", "def render_cart_pole(env, obs):\n",