tiptorrent: missing f-string in error

tip_client_get() needs f-string to display error
master
OpenGnSys Support Team 2024-10-01 17:47:47 +02:00
parent cf9e1c96fd
commit e003ff6d8c
1 changed files with 1 additions and 1 deletions

View File

@ -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()