mirror of
https://github.com/freedombox/FreedomBox.git
synced 2026-11-29 08:25:10 +00:00
storage: Fix incorrect i18n when throwing and error
Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org> Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
This commit is contained in:
1 parent
de6f437f1a
commit
8b96ea0698
1 file changed
+1
-2
+1
-2
@@ -258,8 +258,7 @@ def eject_drive_of_device(device_path):
|
||||
|
||||
if not found_objects:
|
||||
raise ValueError(
|
||||
_('No such device - {device_path}').format(
|
||||
device_path=device_path))
|
||||
'No such device - {device_path}'.format(device_path=device_path))
|
||||
|
||||
obj = found_objects[0]
|
||||
|
||||
|
||||
Reference in new issue
Block a user