diff --git a/src/libpython_clj2/python.clj b/src/libpython_clj2/python.clj index f0a35a1..3674278 100644 --- a/src/libpython_clj2/python.clj +++ b/src/libpython_clj2/python.clj @@ -618,7 +618,9 @@ user> (py/call-attr inst \"addarg\" 10) (when (seq item-path) (if-let [module-retval (try (import-module item-path) - (catch Throwable e nil))] + (catch Exception e + (when-not (seq (module-path-string item-path)) + (throw e))))] (if reload? (let [import-lib (import-module "importlib")] (call-attr import-lib "reload" module-retval))
Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.
Alternative Proxies: