close file properly
This commit is contained in:
parent
d5b355f807
commit
b50e1775f0
@ -261,6 +261,7 @@ class WizardGTK:
|
|||||||
import deluge.common
|
import deluge.common
|
||||||
firstrun = open(os.path.join(deluge.common.CONFIG_DIR, 'firstrun'), 'w')
|
firstrun = open(os.path.join(deluge.common.CONFIG_DIR, 'firstrun'), 'w')
|
||||||
firstrun.write("")
|
firstrun.write("")
|
||||||
|
firstrun.close()
|
||||||
|
|
||||||
def cancel(self, *args):
|
def cancel(self, *args):
|
||||||
"""
|
"""
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user