deltaflyer4747/Xiaomi_Yi

Bug in def FileDownChunk()

luckylz2git opened this issue · 2 comments

def FileDownChunk(self, chunk_size=0, report_hook=None, FileTP=""):
...
    towrite = ""
...
    towrite += chunk
...
    filek.write(chunk)
...

You use the "towrite" to keep file data get from YiCam, but final only write the last chunk to the downloaded file. Will you still keep update this repo?

cosmetic issue, no effect on the function. Fixed, will be pushed in next release.

implemented