diff options
author | OpenGnSys Support Team <soporte-og@soleta.eu> | 2024-10-01 17:47:47 +0200 |
---|---|---|
committer | OpenGnSys Support Team <soporte-og@soleta.eu> | 2024-10-01 17:48:07 +0200 |
commit | e003ff6d8c08848d2e6fe3aae805b451ee8ef89c (patch) | |
tree | 1e9dd44dc3df39fb65d646086de116d8c61006a8 /src/utils/tiptorrent.py | |
parent | cf9e1c96fd63d8893f4ddd58501123235c2d2728 (diff) |
tiptorrent: missing f-string in error
tip_client_get() needs f-string to display error
Diffstat (limited to 'src/utils/tiptorrent.py')
-rw-r--r-- | src/utils/tiptorrent.py | 2 |
1 files changed, 1 insertions, 1 deletions
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() |