diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/buddy.py | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/buddy.py b/src/buddy.py index 4b8f76d..5be2725 100644 --- a/src/buddy.py +++ b/src/buddy.py @@ -568,6 +568,11 @@ class Buddy(ExportedGObject): self.set_properties(props) # If the properties didn't contain the key or color, then we're never # going to get one. + + # Buddy need a key to be valid + if self._key is None: + return + try: self._awaiting.remove('properties') except KeyError: |