Convert hexified ID name to upper case

Our test case accidentally has a numerical-only hex representation, which
doesn't show this issue.
This commit is contained in:
Sybren A. Stüvel 2018-07-05 11:53:38 +02:00
parent 63118d250c
commit 893c1f2231

View File

@ -135,7 +135,7 @@ def _walk_point_cache(ctx: ModifierContext,
if not name:
# See ptcache_filename() in pointcache.c
idname = ctx.owner[b'id', b'name']
name = idname[2:].hex().encode()
name = idname[2:].hex().upper().encode()
path = b'//%b%b/%b_*%b' % (
cdefs.PTCACHE_PATH,
bfile.filepath.stem.encode(),