Fix import of custom photo backend
PEP8 except for E128