From 3b2da5d1bd0b4cdb888d8a84786ac623e1498d1e Mon Sep 17 00:00:00 2001 From: Christian Clauss Date: Sat, 27 Jun 2020 02:49:25 +0200 Subject: [PATCH] Explicit is better than implicit... ImportError (#318) Helps humans and linters understand what is expected. --- parl/utils/summary.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/parl/utils/summary.py b/parl/utils/summary.py index bc3578e..74b002d 100644 --- a/parl/utils/summary.py +++ b/parl/utils/summary.py @@ -14,5 +14,5 @@ try: from parl.utils.visualdl import * -except: +except ImportError: from parl.utils.tensorboard import * -- GitLab