diff --git a/src/components/CodeExamples/Code.js b/src/components/CodeExamples/Code.js index ea2f983e..8c61af0c 100644 --- a/src/components/CodeExamples/Code.js +++ b/src/components/CodeExamples/Code.js @@ -1,11 +1,11 @@ export const python = `from siaskynet import Skynet # upload -skylink = Skynet.UploadFile("./src.jpg") +skylink = Skynet.upload_file("./src.jpg") print("Upload successful, skylink: " + skylink) # download -Skynet.DownloadFile("./dst.jpg", skylink) +Skynet.download_file("./dst.jpg", skylink) print("Download successful")`; export const curl = `# upload