Skip to content

Commit

Permalink
Use format string instead of normal string.
Browse files Browse the repository at this point in the history
Use format string instead of normal string.
  • Loading branch information
ghuls committed Nov 6, 2023
1 parent e68a0b1 commit 190be03
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ctxcore/rnkdb.py
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ def __init__(self, fname: str, name: str):
"""
super().__init__(name=name)

assert os.path.isfile(fname), """Database "{fname}" doesn't exist."""
assert os.path.isfile(fname), f"""Database "{fname}" doesn't exist."""

self._fname = fname
self.ct_db = CisTargetDatabase.init_ct_db(
Expand Down

0 comments on commit 190be03

Please sign in to comment.