From 1e581f65767484837fe3c7328945547d3e04ed3b Mon Sep 17 00:00:00 2001 From: Dylan Jay Date: Thu, 13 Feb 2025 12:19:53 +0700 Subject: [PATCH] Update src/z3c/jbot/patches.py Co-authored-by: Alessandro Pisa --- src/z3c/jbot/patches.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/z3c/jbot/patches.py b/src/z3c/jbot/patches.py index 1974f09..383337b 100644 --- a/src/z3c/jbot/patches.py +++ b/src/z3c/jbot/patches.py @@ -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__