mirror of
https://git.deluge-torrent.org/deluge
synced 2025-08-02 22:48:40 +00:00
close file properly
This commit is contained in:
parent
d5b355f807
commit
b50e1775f0
1 changed files with 1 additions and 0 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue