From 8a9288adaa01a1d6c66c2573be5265d9c25f4be9 Mon Sep 17 00:00:00 2001 From: Pedro de Oliveira Guedes Date: Wed, 5 Jan 2022 15:13:57 -0300 Subject: [PATCH] Eval method improvements. --- api/chrome/cli.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/api/chrome/cli.py b/api/chrome/cli.py index 85f66a2..a8e2675 100644 --- a/api/chrome/cli.py +++ b/api/chrome/cli.py @@ -204,4 +204,4 @@ class Chrome: raw_return = self.__request_raw_post__("/ipc/chrome/eval/"+id, command) - return raw_return['result']['result']['value'] if ('value' in raw_return['result']['result']) else "" \ No newline at end of file + return raw_return['result']['result']['value'] if ('value' in raw_return['result']['result']) else None \ No newline at end of file