Skip to content

Commit

Permalink
revert: remove bb2cf quirk
Browse files Browse the repository at this point in the history
  • Loading branch information
hrz6976 committed Jun 12, 2024
1 parent 724a715 commit 0682f11
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions woc/local.pyx
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 0682f11

Please sign in to comment.