From e003ff6d8c08848d2e6fe3aae805b451ee8ef89c Mon Sep 17 00:00:00 2001 From: OpenGnSys Support Team Date: Tue, 1 Oct 2024 17:47:47 +0200 Subject: tiptorrent: missing f-string in error tip_client_get() needs f-string to display error --- src/utils/tiptorrent.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/utils') diff --git a/src/utils/tiptorrent.py b/src/utils/tiptorrent.py index 252161b..095f17f 100644 --- a/src/utils/tiptorrent.py +++ b/src/utils/tiptorrent.py @@ -120,7 +120,7 @@ def tip_client_get(tip_addr, image_name): cwd=OG_CACHE_IMAGE_PATH) proc.communicate() except OSError as e: - raise OgError('Unexpected error running tiptorrent subprocess: {e}') from e + raise OgError(f'Unexpected error running tiptorrent subprocess: {e}') from e finally: logfile.close() -- cgit v1.2.3-18-g5258