summaryrefslogtreecommitdiff
path: root/python
diff options
context:
space:
mode:
authorBrian Potchik <brian@vector35.com>2021-04-20 10:52:07 -0400
committerBrian Potchik <brian@vector35.com>2021-04-20 10:52:07 -0400
commit78b7800b6806ed16929bd184f24ed431ab8eb457 (patch)
treebf0149b96c0c81bdaa5f4df0190228a793b401f3 /python
parent283f206c241ff5ede6ec908c412a4f65fe4bb954 (diff)
Add InitialState to Analysis.
Diffstat (limited to 'python')
-rw-r--r--python/binaryview.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/python/binaryview.py b/python/binaryview.py
index 2af37321..bf07a3ad 100644
--- a/python/binaryview.py
+++ b/python/binaryview.py
@@ -392,7 +392,9 @@ class AnalysisProgress(object):
return "Analyzing (%d/%d)" % (self._count, self._total)
if self._state == AnalysisState.ExtendedAnalyzeState:
return "Extended Analysis"
- return "Idle"
+ if self._state == AnalysisState.IdleState:
+ return "Idle"
+ return "Initial"
def __repr__(self):
return "<progress: %s>" % str(self)