aboutsummaryrefslogtreecommitdiff
path: root/src/video_thread.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/video_thread.py')
-rw-r--r--src/video_thread.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/video_thread.py b/src/video_thread.py
index 4a28261..5a28beb 100644
--- a/src/video_thread.py
+++ b/src/video_thread.py
@@ -340,7 +340,7 @@ class Worker(QtCore.QObject):
# increase progress bar value
completion = (audioI / self.audioArrayLen) * 100
if progressBarValue + 1 <= completion:
- progressBarValue = numpy.floor(completion)
+ progressBarValue = numpy.floor(completion).astype(int)
self.progressBarUpdate.emit(progressBarValue)
self.progressBarSetText.emit(
"Exporting video: %s%%" % str(int(progressBarValue))