Skip to content

Commit 718a88a

Browse files
authored
Merge pull request #187 from gautams3/patch-error-message
minor bug in error message
2 parents c8c018c + ba32701 commit 718a88a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

yappi/yappi.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -987,7 +987,7 @@ def add(self, files, type="ystat"):
987987
type = type.upper()
988988
if type not in self._SUPPORTED_LOAD_FORMATS:
989989
raise NotImplementedError(
990-
'Loading from (%s) format is not possible currently.'
990+
f'Loading from "{type}" format is not possible currently.'
991991
)
992992
if isinstance(files, str):
993993
files = [

0 commit comments

Comments
 (0)