aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
l---------PyPI/MLRsearch/MLRsearch2
-rw-r--r--resources/libraries/python/TrafficGenerator.py2
2 files changed, 2 insertions, 2 deletions
diff --git a/PyPI/MLRsearch/MLRsearch b/PyPI/MLRsearch/MLRsearch
index 4f23bb392a..a4338e6428 120000
--- a/PyPI/MLRsearch/MLRsearch
+++ b/PyPI/MLRsearch/MLRsearch
@@ -1 +1 @@
-/home/vrpolak/fdio/csit/resources/libraries/python/MLRsearch \ No newline at end of file
+../../resources/libraries/python/MLRsearch \ No newline at end of file
diff --git a/resources/libraries/python/TrafficGenerator.py b/resources/libraries/python/TrafficGenerator.py
index ce01aa613b..455a21ebb8 100644
--- a/resources/libraries/python/TrafficGenerator.py
+++ b/resources/libraries/python/TrafficGenerator.py
@@ -1040,7 +1040,7 @@ class TrafficGenerator(AbstractMeasurer):
"""
if self._received is None:
raise RuntimeError(u"The traffic generation has not been issued")
- if self._received == u"0":
+ if self._received == 0:
raise RuntimeError(u"No traffic forwarded")
def partial_traffic_loss_accepted(