Skip to content

Commit 6c66b68

Browse files
committed
use str.format()
1 parent ef92150 commit 6c66b68

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

just_playback/playback.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ def load_file(self, path_to_file: str) -> None:
4646

4747
audio_file = pathlib.Path(path_to_file)
4848
if not audio_file.exists() or not path_to_file:
49-
raise FileNotFoundError('Audio file not found: %s ' % path_to_file)
49+
raise FileNotFoundError('Audio file not found: {}'.format(path_to_file))
5050

5151
self.__bind(lib.terminate_audio_stream(self.__ma_attrs))
5252

0 commit comments

Comments
 (0)