do it right
This commit is contained in:
4
flash.py
4
flash.py
@@ -60,8 +60,8 @@ def flash(dev):
|
|||||||
os.mkdir("ssh")
|
os.mkdir("ssh")
|
||||||
print(f"changing dir to {PWD}")
|
print(f"changing dir to {PWD}")
|
||||||
os.chdir(PWD)
|
os.chdir(PWD)
|
||||||
print(f"copying wpa_supplicant to f"{tempdir}/"}")
|
print(f"copying wpa_supplicant to {tempdir}/")
|
||||||
copyfile("wpa_supplicant.conf", f"{tempdir}/")
|
copyfile(f"wpa_supplicant.conf", f"{tempdir}/")
|
||||||
print("unmounting")
|
print("unmounting")
|
||||||
subprocess.run(umount_cmd)
|
subprocess.run(umount_cmd)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user