We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 78f1d5a commit d79f183Copy full SHA for d79f183
1 file changed
src/galaxy/registry_monitor.py
@@ -1,4 +1,6 @@
1
import sys
2
+
3
4
if sys.platform == "win32":
5
import logging
6
import ctypes
@@ -76,11 +78,10 @@ def is_updated(self):
76
78
if self._key is None:
77
79
self._open_key()
80
- if self._key is None:
- return False
81
+ if self._key is not None:
82
+ self._set_key_update_notification()
83
- self._set_key_update_notification()
- return True
84
+ return False
85
86
def _set_key_update_notification(self):
87
filter_ = REG_NOTIFY_CHANGE_NAME | REG_NOTIFY_CHANGE_LAST_SET
0 commit comments