Commit abff1666 authored by Antonio Caceres's avatar Antonio Caceres
Browse files

Add mytyping.py to support and update transfer.py.

parent c4a9eade
No related merge requests found
Showing with 6 additions and 0 deletions
+6 -0
try:
from typing import NoReturn
except (ImportError, NameError):
NoReturn = None
......@@ -36,6 +36,8 @@ else:
shutil.rmtree(os.path.join(disk, 'src'), True)
shutil.rmtree(os.path.join(disk, 'boot_out.txt'), True)
shutil.rmtree(os.path.join('src', '__pycache__'), True)
shutil.rmtree(os.path.join('support', '__pycache__'), True)
shutil.copytree('src', os.path.join(disk, 'src'), dirs_exist_ok=True)
shutil.copytree('support', os.path.join(disk, 'support'), dirs_exist_ok=True)
shutil.copy('code.py', os.path.join(disk, 'code.py'))
print("Done! Switch back to the Serial Monitor!")
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment