Commit aea8065e authored by Martin Krajnak's avatar Martin Krajnak

Fix TypeError in exception handler

parent e43b5b99
Pipeline #210994300 failed with stages
in 0 seconds
......@@ -120,7 +120,7 @@ class IsAnApplicationNamed(Predicate):
return node.roleName == "application" and stringMatches(self.appName,
except GLib.GError as error:
if re.match(r"name :[0-9]+\.[0-9]+ was not provided", error):
if re.match(r"name :[0-9]+\.[0-9]+ was not provided", str(error)):
logger.log("Dogtail: warning: omiting possibly broken at-spi application record")
return False
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment