diff --git a/tailbone/views/batch/core.py b/tailbone/views/batch/core.py index c06937fa..318bbea0 100644 --- a/tailbone/views/batch/core.py +++ b/tailbone/views/batch/core.py @@ -2,7 +2,7 @@ ################################################################################ # # Rattail -- Retail Software Framework -# Copyright © 2010-2017 Lance Edgar +# Copyright © 2010-2018 Lance Edgar # # This file is part of Rattail. # @@ -887,10 +887,6 @@ class BatchMasterView(MasterView): # If no error, check result flag (false means user canceled). else: if result: - now = datetime.datetime.utcnow() - for batch in batches: - batch.executed = now - batch.executed_by = user session.commit() # TODO: this doesn't always work...? self.request.session.flash("{} {} were executed".format(