Skip to content

Commit

Permalink
Update src/z3c/jbot/patches.py
Browse files Browse the repository at this point in the history
Co-authored-by: Alessandro Pisa <[email protected]>
  • Loading branch information
djay and ale-rt authored Feb 13, 2025
1 parent 43e73a4 commit 1e581f6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/z3c/jbot/patches.py
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@ def get_and_bind(template, view=None, cls=None):

def get_skin_obj(obj, view=None, cls=None):
layer = utility.getLayer()
key = layer, obj.filename
key = layer, obj.getPhysicalPath()
inst = registry.get(key)
if inst is None:
cls = obj.__class__
Expand Down

0 comments on commit 1e581f6

Please sign in to comment.