diff options
| author | typebrook <typebrook@gmail.com> | 2020-04-15 18:22:52 +0800 |
|---|---|---|
| committer | typebrook <typebrook@gmail.com> | 2020-04-15 18:22:52 +0800 |
| commit | 599248d7c740468c4911302dcbb35ad9b90ff2c9 (patch) | |
| tree | 597950437f5c2ed598f34d6cb63ab4d62640b2f4 | |
| parent | ea39f1779891c868eceb8d3c8e3fa310f07f128c (diff) | |
Add processing for filename with space
| -rwxr-xr-x | gist | 2 |
1 files changed, 1 insertions, 1 deletions
| @@ -368,7 +368,7 @@ for gist in raw: | |||
| 368 | print(gist["html_url"], end=" ") | 368 | print(gist["html_url"], end=" ") |
| 369 | print(gist["public"], end=" ") | 369 | print(gist["public"], end=" ") |
| 370 | print(",".join(file["raw_url"] for file in gist["files"].values()), end=" ") | 370 | print(",".join(file["raw_url"] for file in gist["files"].values()), end=" ") |
| 371 | print(",".join(file["filename"] + "@" + str(file["language"]).replace(" ", "-") for file in gist["files"].values()), end=" ") | 371 | print(",".join(file["filename"].replace(" ", "-") + "@" + str(file["language"]).replace(" ", "-") for file in gist["files"].values()), end=" ") |
| 372 | print(len(gist["files"]), end=" ") | 372 | print(len(gist["files"]), end=" ") |
| 373 | print(gist["comments"], end=" ") | 373 | print(gist["comments"], end=" ") |
| 374 | print(gist["owner"]["login"], end=" ") | 374 | print(gist["owner"]["login"], end=" ") |