From d044e2df58bbfaf645753514f501fab6acd61afa Mon Sep 17 00:00:00 2001 From: raynardj Date: Thu, 23 Dec 2021 14:50:14 +0800 Subject: [PATCH] =?UTF-8?q?=F0=9F=8E=A4=20interactive=20featuers?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- forgebox/__init__.py | 2 +- forgebox/html.py | 2 +- nbs/04_html.ipynb | 2 +- settings.ini | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/forgebox/__init__.py b/forgebox/__init__.py index 8f584e6..b4ed79e 100644 --- a/forgebox/__init__.py +++ b/forgebox/__init__.py @@ -1 +1 @@ -__version__ = "0.4.19" +__version__ = "0.4.20" diff --git a/forgebox/html.py b/forgebox/html.py index d7f2755..80d090d 100644 --- a/forgebox/html.py +++ b/forgebox/html.py @@ -103,7 +103,7 @@ def deeper(x): return list_group_kv(x) if type(x) in [int, str, float, bool]: return x - if type(x) in ImageClass.__subclasses__(): + if type(x) == ImageClass: return img_dom(x) return x diff --git a/nbs/04_html.ipynb b/nbs/04_html.ipynb index 29a9b79..9160adb 100644 --- a/nbs/04_html.ipynb +++ b/nbs/04_html.ipynb @@ -329,7 +329,7 @@ " return list_group_kv(x)\n", " if type(x) in [int, str, float, bool]:\n", " return x\n", - " if type(x) in ImageClass.__subclasses__():\n", + " if type(x) == ImageClass:\n", " return img_dom(x)\n", " return x\n", "\n", diff --git a/settings.ini b/settings.ini index 1b4d4fb..a58b086 100644 --- a/settings.ini +++ b/settings.ini @@ -7,7 +7,7 @@ author = xiaochen(ray) zhang author_email = b2ray2c@gmail.com copyright = xiaochen(ray) zhang branch = master -version = 0.4.19 +version = 0.4.20 min_python = 3.6 audience = Developers language = English