fake_trx/burst_send.py: indicate actual burst source

Change-Id: I7e45996f4a7a2aacc962ff9b65107c6b04e7bf68
This commit is contained in:
Vadim Yanitskiy 2018-01-20 16:44:19 +06:00
parent 0192c028e4
commit 32462cfd62
1 changed files with 2 additions and 0 deletions

View File

@ -67,8 +67,10 @@ class Application:
# Open the burst source (file or stdin)
if self.burst_src is not None:
print("[i] Reading bursts from file '%s'..." % self.burst_src)
src = open(self.burst_src, "r")
else:
print("[i] Reading bursts from stdin...")
src = sys.stdin
# Generate a random frame number or use provided one