Sort proofs

This commit is contained in:
nolash
2021-10-10 21:30:18 +02:00
parent fee303cf85
commit a5cdcb3900
7 changed files with 93 additions and 34 deletions

View File

@@ -27,9 +27,9 @@ def execute(config, eargs):
cmd_mod = importlib.import_module(modname)
ct = Token(path=eargs.directory)
cp = Proof(path=eargs.directory)
cm = Meta(path=eargs.directory)
ca = Attachment(path=eargs.directory)
cp = Proof(path=eargs.directory, attachments=ca)
cn = Network(path=eargs.directory)
ct.load()
@@ -40,4 +40,4 @@ def execute(config, eargs):
ref = cn.reference(eargs.target)
logg.debug('found reference {} for target {}'.format(ref, eargs.target))
getattr(cmd_mod, 'new')(ref, ca.get(), signer_hint=eargs.signer)
getattr(cmd_mod, 'new')(ref, cp, signer_hint=eargs.signer)