summaryrefslogtreecommitdiff
path: root/tftpy/TftpClient.py
diff options
context:
space:
mode:
authorMichael P. Soulier <msoulier@digitaltorque.ca>2012-03-10 21:20:01 -0500
committerMichael P. Soulier <msoulier@digitaltorque.ca>2012-03-10 21:20:01 -0500
commit05e56b66a4600a5b9194f47b7f348e3278da69b6 (patch)
tree30c687e1bf01d3f030eb457b9cde286296d6e964 /tftpy/TftpClient.py
parent9b655fcaa1f30dab63fc982a81c445183f101e43 (diff)
downloadtftpy-05e56b66a4600a5b9194f47b7f348e3278da69b6.tar.gz
Fixing issue #26, with the server not creating the full path to the filename
being uploaded.
Diffstat (limited to 'tftpy/TftpClient.py')
-rw-r--r--tftpy/TftpClient.py12
1 files changed, 6 insertions, 6 deletions
diff --git a/tftpy/TftpClient.py b/tftpy/TftpClient.py
index e9e46e7..9ea905f 100644
--- a/tftpy/TftpClient.py
+++ b/tftpy/TftpClient.py
@@ -79,12 +79,12 @@ class TftpClient(TftpSession):
Note: If output is a hyphen then stdout is used."""
self.context = TftpContextClientUpload(self.host,
- self.iport,
- filename,
- input,
- self.options,
- packethook,
- timeout)
+ self.iport,
+ filename,
+ input,
+ self.options,
+ packethook,
+ timeout)
self.context.start()
# Upload happens here
self.context.end()