Enable scripter to run on Python 3.4 systems
Patch by Brendanbd, thanks! Differential Revision: https://phabricator.kde.org/D9529 BUG:387701