summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVadim Yanitskiy <axilirator@gmail.com>2018-01-20 16:44:19 +0600
committerVadim Yanitskiy <axilirator@gmail.com>2018-01-20 16:44:19 +0600
commit32462cfd62a25a461d36845e546f150bd8ca0e97 (patch)
tree87348131d00c3b7448d2c7d3798868881fcc4ddb
parent0192c028e449d9d5f33cf8f0099e0742b1ba80e2 (diff)
fake_trx/burst_send.py: indicate actual burst source
-rwxr-xr-xsrc/target/fake_trx/burst_send.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/target/fake_trx/burst_send.py b/src/target/fake_trx/burst_send.py
index bed6b446..a8519edc 100755
--- a/src/target/fake_trx/burst_send.py
+++ b/src/target/fake_trx/burst_send.py
@@ -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