Added change

resolved_file
Christopher Truncer 2015-06-03 10:02:39 -04:00
parent 7b1638fd88
commit e596960e1e
1 changed files with 1 additions and 1 deletions

View File

@ -40,7 +40,7 @@ class Client:
resolver_object = dns.resolver.get_default_resolver()
nameserver = resolver_object.nameservers[0]
while (byte_reader < len(data_to_transmit) + self.length):
while (byte_reader < len(data_to_transmit)):
if not self.file_transfer:
encoded_data = base64.b64encode(data_to_transmit[byte_reader:byte_reader + self.length])
encoded_data = encoded_data.replace("=", ".---")