summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--python-modules/ezbench/smartezbench.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/python-modules/ezbench/smartezbench.py b/python-modules/ezbench/smartezbench.py
index 29dd349..8956a56 100644
--- a/python-modules/ezbench/smartezbench.py
+++ b/python-modules/ezbench/smartezbench.py
@@ -480,6 +480,8 @@ class SmartEzbench:
self.__log(Criticality.EE,
"The following error arose '{}({})'.".format(e.args[0]['err_code'],
e.args[0]['err_str']))
+ elif profile == self.state['profile']:
+ ret = True
else:
self.__log(Criticality.EE, "You cannot change the profile of a report that already has results. Start a new one.")
self.__release_lock()