mirror of
https://github.com/kovidgoyal/kitty
synced 2026-07-21 16:05:02 +02:00
old python compat
This commit is contained in:
@@ -780,7 +780,7 @@ class NotificationManager:
|
|||||||
self.channel.focus(n.channel_id, n.activation_token)
|
self.channel.focus(n.channel_id, n.activation_token)
|
||||||
if n.report_requested:
|
if n.report_requested:
|
||||||
ident = n.identifier or '0'
|
ident = n.identifier or '0'
|
||||||
self.channel.send(n.channel_id, f'99;i={ident};{which or ''}')
|
self.channel.send(n.channel_id, f'99;i={ident};{which or ""}')
|
||||||
if n.on_activation:
|
if n.on_activation:
|
||||||
try:
|
try:
|
||||||
n.on_activation(n)
|
n.on_activation(n)
|
||||||
|
|||||||
Reference in New Issue
Block a user