From 283e7870dff40487b97a68a5bafb1f040fb9d47d Mon Sep 17 00:00:00 2001 From: ducoterra Date: Sun, 15 Sep 2019 16:24:15 -0400 Subject: [PATCH] add slash after temdir --- flash.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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)