This commit is contained in:
Kovid Goyal 2022-04-24 08:03:51 +05:30
commit cf2a20e4ea
No known key found for this signature in database
GPG Key ID: 06BC317B515ACE7C
2 changed files with 2 additions and 2 deletions

View File

@ -976,7 +976,7 @@ class FileTransmission:
finally:
self.drop_receive(ar.id)
else:
log_error('Transmission receive command with unknown action: {cmd.action}, ignoring')
log_error(f'Transmission receive command with unknown action: {cmd.action}, ignoring')
def transmit_rsync_signature(
self, fs: Iterator[memoryview],

View File

@ -832,7 +832,7 @@ class Window:
args = self.child.foreground_cmdline
conn_data = get_connection_data(args, self.child.foreground_cwd or self.child.current_cwd or '')
if conn_data is None:
get_boss().show_error('Could not handle remote file', 'No SSH connection data found in: {args}')
get_boss().show_error('Could not handle remote file', f'No SSH connection data found in: {args}')
return
get_boss().run_kitten(
'remote_file', '--hostname', netloc.partition(':')[0], '--path', remote_path,