[chrome-gnome-shell] connector: use uuid check properly
- From: Yuri Konotopov <ykonotopov src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [chrome-gnome-shell] connector: use uuid check properly
- Date: Mon, 15 Aug 2016 06:55:12 +0000 (UTC)
commit 43789107dfda360052f4c5d1a766ee9e89f140d4
Author: Yuri Konotopov <ykonotopov gmail com>
Date: Mon Aug 15 09:53:29 2016 +0300
connector: use uuid check properly
connector/chrome-gnome-shell.py | 5 ++++-
1 files changed, 4 insertions(+), 1 deletions(-)
---
diff --git a/connector/chrome-gnome-shell.py b/connector/chrome-gnome-shell.py
index 123f69a..9d87f96 100755
--- a/connector/chrome-gnome-shell.py
+++ b/connector/chrome-gnome-shell.py
@@ -174,7 +174,10 @@ def read_thread_func():
extensions.append({'uuid': request['uuid'], 'enable': request['enable'] })
for extension in extensions:
- if extension['enable'] and isUUID(extension['uuid']):
+ if not isUUID(extension['uuid']):
+ continue
+
+ if extension['enable']:
uuids.append(extension['uuid'])
else:
uuids.remove(extension['uuid'])
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]