mirror of
https://github.com/FAUSheppy/icinga-webhook-gateway
synced 2025-12-06 15:31:38 +01:00
fix typo and break line
This commit is contained in:
@@ -48,7 +48,8 @@ if __name__ == "__main__":
|
|||||||
|
|
||||||
if not args.service == jsonDict["service"]:
|
if not args.service == jsonDict["service"]:
|
||||||
retService = jsonDict["service"]
|
retService = jsonDict["service"]
|
||||||
print("Gateway returned wrong bad name ({} for {})".format(retService, args.service))
|
fmtText = "Gateway returned wrong or bad service name ({} for {})"
|
||||||
|
print(fmtText.format(retService, args.service))
|
||||||
|
|
||||||
# handle content #
|
# handle content #
|
||||||
parsedTime = datetime.datetime.fromtimestamp(int(jsonDict["timestamp"]))
|
parsedTime = datetime.datetime.fromtimestamp(int(jsonDict["timestamp"]))
|
||||||
|
|||||||
Reference in New Issue
Block a user