do i need to specify global variables when running script from non-root user?
This commit is contained in:
parent
8312d274bb
commit
7cfd757a49
|
@ -146,6 +146,7 @@ title: %s
|
|||
|
||||
def resolve_fields(id, yaml_func=None):
|
||||
""" Converts a page id into Markdown, metadata, and header """
|
||||
global client
|
||||
record = client.get_block(id)
|
||||
markdown = get_record_text(record)
|
||||
post = record.get_all_properties()
|
||||
|
|
Loading…
Reference in New Issue