Skip to content

Commit

Permalink
Merge pull request #256 from andlaus/compare_fixes
Browse files Browse the repository at this point in the history
Janitorial work
  • Loading branch information
andlaus authored Jan 29, 2024
2 parents 5b45927 + 0158b81 commit 64bf799
Show file tree
Hide file tree
Showing 4 changed files with 167 additions and 169 deletions.
2 changes: 1 addition & 1 deletion odxtools/cli/_print_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ def extract_service_tabulation_data(services: List[DiagService]) -> Dict[str, An
if service.request:
prefix = service.request.coded_const_prefix()
request.append(f"0x{str(prefix.hex().upper())[:32]}...") if len(
prefix) > 32 else request.append(f"0x{str(prefix.upper())}")
prefix) > 32 else request.append(f"0x{str(prefix.hex().upper())}")
else:
request.append(None)

Expand Down
2 changes: 1 addition & 1 deletion odxtools/cli/browse.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@
import logging
import sys
from typing import List, Optional, Union
from tabulate import tabulate # TODO: switch to rich tables

import PyInquirer.prompt as PI_prompt
from tabulate import tabulate # TODO: switch to rich tables

from ..database import Database
from ..dataobjectproperty import DataObjectProperty
Expand Down
Loading

0 comments on commit 64bf799

Please sign in to comment.