scientifichackers / ampy

MicroPython Tool - Utility to interact with a MicroPython board over a serial connection.
MIT License
723 stars 157 forks source link

does nothing: "ampy put src /" #81

Closed jedie closed 4 years ago

jedie commented 5 years ago

I want to put all files from local /src/* to the root directory of the device. So i call: ampy put src /

Nothing happens.

I add some debug info in cli.py and the problem is: board_files.mkdir(remote_parent) raised files.DirectoryExistsError with this error: Directory already exists: /

jedie commented 5 years ago

EDIT: Ah i now see: https://github.com/scientifichackers/ampy/commit/7739544b9c084d03b13b4a0e80926d07fb8420d5 "fixed" the problem... But the package on PyPi seems to be outdated and doesn't contain this changes :(