Python syntax fix

Status Job ID Name Coverage
  Build
manual #7014
docker allowed to fail manual
kdeorg/appimage-base
manual #7015
docker allowed to fail manual
kdeorg/staticweb