From c6a8f79368ceffdd359e7812a7a87f1eb45aa276 Mon Sep 17 00:00:00 2001 From: ducoterra Date: Sun, 15 Sep 2019 16:26:30 -0400 Subject: [PATCH] specify file name --- flash.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/flash.py b/flash.py index 07ed2c8..5499252 100755 --- a/flash.py +++ b/flash.py @@ -61,7 +61,7 @@ def flash(dev): print(f"changing dir to {PWD}") os.chdir(PWD) print(f"copying wpa_supplicant to {tempdir}/") - copyfile(f"wpa_supplicant.conf", f"{tempdir}/") + copyfile(f"wpa_supplicant.conf", f"{tempdir}/wpa_supplicant.conf") print("unmounting") subprocess.run(umount_cmd)