diff --git a/flash.py b/flash.py index fd19a6f..f80d595 100755 --- a/flash.py +++ b/flash.py @@ -60,8 +60,8 @@ def flash(dev): os.mkdir("ssh") print(f"changing dir to {PWD}") os.chdir(PWD) - print(f"copying wpa_supplicant to {tempdir}") - copyfile("wpa_supplicant.conf", tempdir) + print(f"copying wpa_supplicant to f"{tempdir}/"}") + copyfile("wpa_supplicant.conf", f"{tempdir}/") print("unmounting") subprocess.run(umount_cmd)