diff --git a/src/vcard.py b/src/vcard.py index edcc219db..97abf4634 100644 --- a/src/vcard.py +++ b/src/vcard.py @@ -81,6 +81,7 @@ class Vcard_window: return True def on_set_avatar_button_clicked(self, widget): + file = None dialog = gtk.FileChooserDialog('Choose avatar', None, gtk.FILE_CHOOSER_ACTION_OPEN, (gtk.STOCK_CANCEL, gtk.RESPONSE_CANCEL,