no more conditional

This commit is contained in:
Jakob Ketterl 2019-09-23 23:53:22 +02:00
parent d8bc2cab2e
commit bf59ed34cf

View File

@ -62,7 +62,7 @@ class Uploader(object):
self.socket = socket.socket(socket.AF_INET, socket.SOCK_DGRAM) self.socket = socket.socket(socket.AF_INET, socket.SOCK_DGRAM)
def upload(self, spots): def upload(self, spots):
logger.debug("would now upload %i spots", len(spots)) logger.debug("uploading %i spots", len(spots))
for packet in self.getPackets(spots): for packet in self.getPackets(spots):
self.socket.sendto(packet, ("report.pskreporter.info", 4739)) self.socket.sendto(packet, ("report.pskreporter.info", 4739))