Skip to content

Commit

Permalink
Fix TypeError: 'generator' object is not subscriptable (#272)
Browse files Browse the repository at this point in the history
  • Loading branch information
drfho authored Apr 29, 2024
1 parent 3f8c361 commit 966af8d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Products/zms/standard.py
Original file line number Diff line number Diff line change
Expand Up @@ -252,8 +252,8 @@ def zmi_paths(context):
# ZMI resources without Zope base css/js
# css_paths = ("/++resource++zmi/bootstrap-4.6.0/bootstrap.min.css","/++resource++zmi/fontawesome-free-5.15.2/css/all.css")
# js_paths = ("/++resource++zmi/jquery-3.5.1.min.js","/++resource++zmi/bootstrap-4.6.0/bootstrap.bundle.min.js",)
kw["css_paths"] = css_paths(context)[:-1]
kw["js_paths"] = js_paths(context)[:-2]
kw["css_paths"] = list(css_paths(context))[:-1]
kw["js_paths"] = list(js_paths(context))[:-2]
return kw


Expand Down

0 comments on commit 966af8d

Please sign in to comment.