diff options
author | Aleksey Lim <alsroot@member.fsf.org> | 2009-07-10 22:03:20 (GMT) |
---|---|---|
committer | Aleksey Lim <alsroot@member.fsf.org> | 2009-07-10 22:03:20 (GMT) |
commit | c26dacaa7329cb2d52654c198c606bca2cd5e84f (patch) | |
tree | 69024cf89ae52f63d57e21c859fafbbcd11482ad | |
parent | 811dab3c9294b46dc1c5add4a84e7ace99fb83a6 (diff) |
Initiate variables before usage
-rw-r--r-- | createcardpanel.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/createcardpanel.py b/createcardpanel.py index 0b34ff2..56f6558 100644 --- a/createcardpanel.py +++ b/createcardpanel.py @@ -48,6 +48,8 @@ class CreateCardPanel(gtk.EventBox): self.equal_pairs = False self._updatebutton_sensitive = False + self._card1_has_sound = False + self._card2_has_sound = False # Set the add new pair buttom add_icon = join(dirname(__file__), 'images', 'pair-add.svg') |