master
d42 2019-08-06 15:09:33 +02:00
parent 2f23869a55
commit 5c932f44e6
1 changed files with 0 additions and 1 deletions

View File

@ -30,6 +30,5 @@ if __name__ == "__main__":
object_path = "/Sessions/{id}".format(id=x)
session = session_bus.get_object(KONSOLE_PATH, object_path)
foreground_id = session.foregroundProcessId()
import pdb; pdb.set_trace()
if is_shell(foreground_id):
session.runCommand("\15exit")