diff options
author | Slávek Banko <[email protected]> | 2023-01-22 02:02:13 +0100 |
---|---|---|
committer | Slávek Banko <[email protected]> | 2023-01-22 02:02:13 +0100 |
commit | 86480e58eafc1fa3486e03155ed34e02b4595a24 (patch) | |
tree | 0e8f64c4003ea558e946b7a3347688904b451635 /chalk/doc/scripts/dcop.py | |
parent | 135d005014a1e85295af4e379f026a361537ae5f (diff) | |
download | koffice-86480e58eafc1fa3486e03155ed34e02b4595a24.tar.gz koffice-86480e58eafc1fa3486e03155ed34e02b4595a24.zip |
Drop python2 support in scripts.
Signed-off-by: Slávek Banko <[email protected]>
Diffstat (limited to 'chalk/doc/scripts/dcop.py')
-rw-r--r-- | chalk/doc/scripts/dcop.py | 6 |
1 files changed, 3 insertions, 3 deletions
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)) |