fix: [tool] link to object template fixed

pull/304/head
Alexandre Dulaunoy 2021-01-05 14:48:29 +01:00
parent 8d08dc52d0
commit 811b52fa6f
No known key found for this signature in database
GPG Key ID: 09E2CD4944E6CBCD
1 changed files with 2 additions and 2 deletions

View File

@ -3,7 +3,7 @@
#
#
# A simple converter of MISP objects to asciidoctor format
# Copyright (C) 2017-2019 Alexandre Dulaunoy
# Copyright (C) 2017-2021 Alexandre Dulaunoy
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as
@ -46,5 +46,5 @@ for mispobject in objects:
c = json.load(fp)
if not c['description'].endswith('.'):
c['description'] = c['description'] + "."
v = "- [objects/{}](objects/{}/definition.json) - {}".format(c['name'], c['name'], c['description'])
v = "- [objects/{}](https://github.com/MISP/misp-objects/blob/main/objects/{}/definition.json) - {}".format(c['name'], c['name'], c['description'])
print(v)