use string.format instead of old style (%) formatting
This commit is contained in:
@@ -421,7 +421,7 @@ class DigitalBitbox_KeyStore(Hardware_KeyStore):
|
||||
|
||||
|
||||
def decrypt_message(self, pubkey, message, password):
|
||||
raise RuntimeError(_('Encryption and decryption are currently not supported for %s') % self.device)
|
||||
raise RuntimeError(_('Encryption and decryption are currently not supported for {}').format(self.device))
|
||||
|
||||
|
||||
def sign_message(self, sequence, message, password):
|
||||
|
||||
Reference in New Issue
Block a user