Unverified Commit 9d5b017e authored by Sebastian Schüpbach's avatar Sebastian Schüpbach
Browse files

fix formatting issue



Signed-off-by: Sebastian Schüpbach's avatarSebastian Schüpbach <sebastian.schuepbach@unibas.ch>
parent e2fe92d6
Pipeline #16736 passed with stages
in 4 minutes and 40 seconds
......@@ -26,6 +26,19 @@
#
# You should have received a copy of the GNU Affero General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as published
# by the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU Affero General Public License for more details.
#
# You should have received a copy of the GNU Affero General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
import datetime
import json
......@@ -55,7 +68,10 @@ class Reporter:
try:
key_bytes = bytes(identifier, encoding='utf-8')
now = datetime.datetime.now()
timestamp = now.strftime('%Y-%m-%dT%H:%M:%S.') + str(round(int(now.strftime('%f')) / 1000))
# //@formatter:off
timestamp = now.strftime('%Y-%m-%dT%H:%M:%S.') + \
str(round(int(now.strftime('%f')) / 1000))
# //@formatter:on
report = {
'id': identifier,
'status': status,
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment