forked from LBRYCommunity/lbry-sdk
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':
|
if os.name != 'nt':
|
||||||
lbrycrdd_path_conf = os.path.join(os.path.expanduser("~"), ".lbrycrddpath.conf")
|
lbrycrdd_path_conf = os.path.join(os.path.expanduser("~"), ".lbrycrddpath.conf")
|
||||||
if not os.path.isfile(lbrycrdd_path_conf):
|
if not os.path.isfile(lbrycrdd_path_conf):
|
||||||
f = open(lbrycrdd_path_conf)
|
f = open(lbrycrdd_path_conf, "w")
|
||||||
f.write(self.lbrycrdd_path)
|
f.write(str(self.lbrycrdd_path))
|
||||||
f.close()
|
f.close()
|
||||||
|
|
||||||
self.created_data_dir = False
|
self.created_data_dir = False
|
||||||
|
|
Loading…
Reference in a new issue