From 7e5ba09acae84c2377d15d594151d8095984a24f Mon Sep 17 00:00:00 2001 From: Nikos Kouremenos Date: Sun, 13 Nov 2005 12:31:13 +0000 Subject: [PATCH] GC does it automatically, but what the hell --- src/common/connection.py | 1 + 1 file changed, 1 insertion(+) diff --git a/src/common/connection.py b/src/common/connection.py index e96e3dd01..a1829bf45 100644 --- a/src/common/connection.py +++ b/src/common/connection.py @@ -1971,6 +1971,7 @@ class Connection: # We have the vcard cached f = open(path_to_file) c = f.read() + f.close() card = common.xmpp.Node(node = c) vcard = self.node_to_dict(card) if vcard.has_key('PHOTO'):