PyInteractive: fix line number

Fix usage in QIdle