Dont migrate wallets for xp
This commit is contained in:
parent
f971c80d58
commit
2e583ec38d
|
@ -24,6 +24,7 @@ def print_msg(*args):
|
||||||
|
|
||||||
|
|
||||||
def check_windows_wallet_migration():
|
def check_windows_wallet_migration():
|
||||||
|
if platform.release() != "XP":
|
||||||
if os.path.exists(os.path.join(os.environ["LOCALAPPDATA"], "Electrum")):
|
if os.path.exists(os.path.join(os.environ["LOCALAPPDATA"], "Electrum")):
|
||||||
if os.path.exists(os.path.join(os.environ["APPDATA"], "Electrum")):
|
if os.path.exists(os.path.join(os.environ["APPDATA"], "Electrum")):
|
||||||
print_msg("Two Electrum folders have been found, the default Electrum location for Windows has changed from %s to %s since Electrum 1.7, please check your wallets and fix the problem manually." % (os.environ["LOCALAPPDATA"], os.environ["APPDATA"]))
|
print_msg("Two Electrum folders have been found, the default Electrum location for Windows has changed from %s to %s since Electrum 1.7, please check your wallets and fix the problem manually." % (os.environ["LOCALAPPDATA"], os.environ["APPDATA"]))
|
||||||
|
|
Loading…
Reference in New Issue