From 86480e58eafc1fa3486e03155ed34e02b4595a24 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sl=C3=A1vek=20Banko?= Date: Sun, 22 Jan 2023 02:02:13 +0100 Subject: Drop python2 support in scripts. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Slávek Banko --- chalk/doc/scripts/dcop.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'chalk/doc/scripts') diff --git a/chalk/doc/scripts/dcop.py b/chalk/doc/scripts/dcop.py index cc703930..55ac7983 100644 --- a/chalk/doc/scripts/dcop.py +++ b/chalk/doc/scripts/dcop.py @@ -9,6 +9,6 @@ doc = app.KoApplicationIface.getDocuments()[0] img=doc.currentImage() dev=img.activeDevice() dev.setName("A new name") -print dev.pixelSize() -print dev.nChannels() -print dev.readBytes(10, 10, 1, 1) +print(dev.pixelSize()) +print(dev.nChannels()) +print(dev.readBytes(10, 10, 1, 1)) -- cgit v1.2.1