From 2b30a17683ab1fead94011064837f4bb9bb6c303 Mon Sep 17 00:00:00 2001 From: Jannik Schönartz Date: Thu, 10 Jan 2019 19:19:54 +0100 Subject: Add filename to tftp log, to prevent log spam --- bwLpStatus.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bwLpStatus.py b/bwLpStatus.py index 076f879..67e6531 100755 --- a/bwLpStatus.py +++ b/bwLpStatus.py @@ -101,7 +101,7 @@ def https(name, url): def tftp(name, host, port, filename): print('TFTP request ' + host + ' ...', end='') - hostname = host + ':' + str(port) + hostname = host + ':' + str(port) + ':' + filename try: client = tftpy.TftpClient(host, port) client.download(filename, 'tmp_tftp_file') -- cgit v1.2.3-55-g7522