Skip to content

Commit 34a973b

Browse files
authored
Merge pull request #21 from alexdraconian/structs
Set struct default variable
2 parents 131099f + da8e6a6 commit 34a973b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

dokuwiki.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -385,7 +385,7 @@ def __init__(self, dokuwiki):
385385
"""Get the structured data of a given page."""
386386
self._dokuwiki = dokuwiki
387387

388-
def get_data(self, page, schema, timestamp=0):
388+
def get_data(self, page, schema='', timestamp=0):
389389
"""Get the structured data of a given page."""
390390
return self._dokuwiki.send('plugin.struct.getData', page, schema, timestamp)
391391

0 commit comments

Comments
 (0)