onionr can now run from relative dirs and lots of bug fixes
This commit is contained in:
parent
5f22387af6
commit
f99ff27006
12 changed files with 52 additions and 15 deletions
|
@ -114,8 +114,9 @@ def insert_block(data: Union[str, bytes], header: str ='txt',
|
|||
|
||||
# compile metadata
|
||||
metadata['meta'] = jsonMeta
|
||||
metadata['sig'] = signature
|
||||
metadata['signer'] = signer
|
||||
if len(signature) > 0: # I don't like not pattern
|
||||
metadata['sig'] = signature
|
||||
metadata['signer'] = signer
|
||||
metadata['time'] = createTime
|
||||
|
||||
# ensure expire is integer and of sane length
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue