Browse Source

Add info line when downloading file.

Lourens Rozema 9 years ago
parent
commit
b54dd32215
1 changed files with 1 additions and 0 deletions
  1. 1 0
      nodemcu-uploader.py

+ 1 - 0
nodemcu-uploader.py

@@ -111,6 +111,7 @@ class Uploader:
     def read_file(self, filename, destination = ''):
         if not destination:
             destination = filename
+        log.info('Transfering %s to %s' %(filename, destination))
         self.dump()
         self._port.write(r"file.open('" + filename + r"') print(file.seek('end', 0)) file.seek('set', 0) uart.write(0, file.read()) file.close()" + '\n')
         cmd, size, data = self.dump().split('\n', 2)