From 0682f118fd150666aaff0eb5b7db9d145b5eaff9 Mon Sep 17 00:00:00 2001 From: 12f23eddde <12f23eddde@gmail.com> Date: Wed, 12 Jun 2024 20:56:39 +0800 Subject: [PATCH] revert: remove bb2cf quirk --- woc/local.pyx | 6 ------ 1 file changed, 6 deletions(-) diff --git a/woc/local.pyx b/woc/local.pyx index 66a725b..663db8e 100644 --- a/woc/local.pyx +++ b/woc/local.pyx @@ -634,12 +634,6 @@ class WocMapsLocal(WocMapsBase): assert _path, f"shard {_shard} not found at {_path}" _tch = get_tch(_path) - - # TODO: remove bb2cf quirk after fixing tch keys - # bb2cf: keys are stored as hex strings in tch db - if map_name == 'bb2cf': - key = key.hex().encode('ascii') - _bytes = _tch[key] if self._is_debug_enabled: