forked from bitcoinafterlife/bal-electrum-plugin
Windows
This commit is contained in:
2
qt.py
2
qt.py
@@ -1767,7 +1767,7 @@ class WillSettingsWidget(QWidget):
|
|||||||
target = os.path.abspath(filename)
|
target = os.path.abspath(filename)
|
||||||
# se il file esiste, sovrascrive
|
# se il file esiste, sovrascrive
|
||||||
_logger.debug(f"save_to_cwd {self.temp_path},{filename}")
|
_logger.debug(f"save_to_cwd {self.temp_path},{filename}")
|
||||||
with open(path, "rb") as src, open(target, "wb") as dst:
|
with open(self.temp_path, "rb") as src, open(target, "wb") as dst:
|
||||||
dst.write(src.read())
|
dst.write(src.read())
|
||||||
return target
|
return target
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user