From b50e1775f06a19309478f0146dbccb0bf27a38fd Mon Sep 17 00:00:00 2001 From: Marcos Pinto Date: Mon, 27 Aug 2007 01:36:45 +0000 Subject: [PATCH] close file properly --- src/wizard.py | 1 + 1 file changed, 1 insertion(+) diff --git a/src/wizard.py b/src/wizard.py index d3735aba2..67a58cae1 100644 --- a/src/wizard.py +++ b/src/wizard.py @@ -261,6 +261,7 @@ class WizardGTK: import deluge.common firstrun = open(os.path.join(deluge.common.CONFIG_DIR, 'firstrun'), 'w') firstrun.write("") + firstrun.close() def cancel(self, *args): """