write to the file that's supposed to be written to
This commit is contained in:
parent
0a3f81e364
commit
4c2ab23c1f
1 changed files with 2 additions and 2 deletions
|
@ -321,8 +321,8 @@ class LBRYDaemon(jsonrpc.JSONRPC):
|
|||
if os.name != 'nt':
|
||||
lbrycrdd_path_conf = os.path.join(os.path.expanduser("~"), ".lbrycrddpath.conf")
|
||||
if not os.path.isfile(lbrycrdd_path_conf):
|
||||
f = open(lbrycrdd_path_conf)
|
||||
f.write(self.lbrycrdd_path)
|
||||
f = open(lbrycrdd_path_conf, "w")
|
||||
f.write(str(self.lbrycrdd_path))
|
||||
f.close()
|
||||
|
||||
self.created_data_dir = False
|
||||
|
|
Loading…
Reference in a new issue