Merge branch 'fix-f-string' of https://github.com/page-down/kitty
This commit is contained in:
commit
cf2a20e4ea
@ -976,7 +976,7 @@ class FileTransmission:
|
|||||||
finally:
|
finally:
|
||||||
self.drop_receive(ar.id)
|
self.drop_receive(ar.id)
|
||||||
else:
|
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(
|
def transmit_rsync_signature(
|
||||||
self, fs: Iterator[memoryview],
|
self, fs: Iterator[memoryview],
|
||||||
|
|||||||
@ -832,7 +832,7 @@ class Window:
|
|||||||
args = self.child.foreground_cmdline
|
args = self.child.foreground_cmdline
|
||||||
conn_data = get_connection_data(args, self.child.foreground_cwd or self.child.current_cwd or '')
|
conn_data = get_connection_data(args, self.child.foreground_cwd or self.child.current_cwd or '')
|
||||||
if conn_data is None:
|
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
|
return
|
||||||
get_boss().run_kitten(
|
get_boss().run_kitten(
|
||||||
'remote_file', '--hostname', netloc.partition(':')[0], '--path', remote_path,
|
'remote_file', '--hostname', netloc.partition(':')[0], '--path', remote_path,
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user