[geany/geany-plugins] ea794c: Don't mix NoneType/strings with integer comparison