Skip to content

Commit

Permalink
[processing] log the start time (fix #44292)
Browse files Browse the repository at this point in the history
  • Loading branch information
Joonalai authored and nyalldawson committed Sep 20, 2021
1 parent 08d8ccb commit 60b74ef
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions python/plugins/processing/gui/AlgorithmDialog.py
Expand Up @@ -22,6 +22,7 @@
__copyright__ = '(C) 2012, Victor Olaya'

from pprint import pformat
import datetime
import time

from qgis.PyQt.QtCore import QCoreApplication
Expand Down Expand Up @@ -156,6 +157,11 @@ def runAlgorithm(self):
self.feedback.reportError(self.algorithm().provider().warningMessage())

self.setProgressText(QCoreApplication.translate('AlgorithmDialog', 'Processing algorithm…'))
self.feedback.pushInfo(
QCoreApplication.translate('AlgorithmDialog', 'Algorithm started at: {}').format(
datetime.datetime.now().replace(microsecond=0).isoformat()
)
)

self.setInfo(
QCoreApplication.translate('AlgorithmDialog', '<b>Algorithm \'{0}\' starting&hellip;</b>').format(
Expand Down

0 comments on commit 60b74ef

Please sign in to comment.