Skip to content

Commit f56f25c

Browse files
authored
Fix typos in Go and Python examples (#3)
1 parent ab00c7b commit f56f25c

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

Go/simple_file_upload/app.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -139,6 +139,6 @@ func main() {
139139
// upload file contents
140140
uploadFile(createResp.UploadURL, *filePathPtr)
141141

142-
log.Println("Succesfully uploaded file")
143-
log.Println("View it here: " + "https:drive.tekcloud.com/#/f/" + createResp.File.ID)
142+
log.Println("Successfully uploaded file")
143+
log.Println("View it here: " + "https://drive.tekcloud.com/#/f/" + createResp.File.ID)
144144
}

Python/multipart_file_upload/run.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -178,6 +178,6 @@ def main(*args, file: str) -> None:
178178

179179
if __name__ == "__main__":
180180
parser = argparse.ArgumentParser()
181-
parser.add_argument("file", help="The file to be upload")
181+
parser.add_argument("file", help="The file to be uploaded")
182182
args = parser.parse_args()
183183
main(**args.__dict__)

Python/simple_file_upload/run.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -57,13 +57,13 @@ def main(*args, file_path: str, name: str) -> None:
5757
create_response = create_file_record(name)
5858
upload(create_response["uploadUrl"], file_path)
5959

60-
print("File succesfully uploaded")
60+
print("File successfully uploaded")
6161
print(f"View it here: https://drive.tekcloud.com/#/f/{create_response['file']['id']}")
6262

6363

6464
if __name__ == "__main__":
6565
parser = argparse.ArgumentParser()
66-
parser.add_argument("file_path", help="The file to be upload")
66+
parser.add_argument("file_path", help="The file to be uploaded")
6767
parser.add_argument("--name", help="Filename override", default="test-simple-file-upload")
6868
args = parser.parse_args()
6969
main(**args.__dict__)

0 commit comments

Comments
 (0)