tienfuc / gdcmdtools

Google drive command-line tools
BSD 2-Clause "Simplified" License
57 stars 4 forks source link

Fix issues #55 & #64 (issues pulling JSON) #65

Closed thinkle closed 8 years ago

thinkle commented 9 years ago

Change behavior of get_by_format, which is required by JSON-handling code to return content. Now get_by_format returns three items: result, content, local_size. Fixed places where get_by_format is called to take this into account.

In addition, encode output as UTF-8 to avoid encoding errors w/ code files that include non-ascii characters.

tienfuc commented 8 years ago

thinkle, Thanks for the fix, merged.