summaryrefslogtreecommitdiff
path: root/gr-utils/modtool/templates/gr-newmod/python/__init__.py
diff options
context:
space:
mode:
Diffstat (limited to 'gr-utils/modtool/templates/gr-newmod/python/__init__.py')
-rw-r--r--gr-utils/modtool/templates/gr-newmod/python/__init__.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/gr-utils/modtool/templates/gr-newmod/python/__init__.py b/gr-utils/modtool/templates/gr-newmod/python/__init__.py
index 0ccbe5a325..096baa30a0 100644
--- a/gr-utils/modtool/templates/gr-newmod/python/__init__.py
+++ b/gr-utils/modtool/templates/gr-newmod/python/__init__.py
@@ -16,7 +16,7 @@ import os
try:
# this might fail if the module is python-only
from .howto_python import *
-except ImportError:
+except ModuleNotFoundError:
pass
# import any pure python here