Skip to content

Commit

Permalink
Added options, code cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
Ivan Begtin committed May 30, 2021
1 parent 1ff139f commit de6fe64
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 2 deletions.
5 changes: 5 additions & 0 deletions HISTORY.rst
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,11 @@
History
=======

1.0.4 (2021-05-31)
* Added "start_page" in case if start_page is not 1 (could be 0 sometimes)
* Added support of data returned as JSON array, not JSON dict and data_key not provided
* Added initial code to implement Frictionless Data packaging

1.0.3 (2020-10-28)
------------------
* Added several new options
Expand Down
2 changes: 1 addition & 1 deletion apibackuper/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,6 @@
"""

__version__ = '1.0.3'
__version__ = '1.0.4'
__author__ = 'Ivan Begtin'
__licence__ = 'MIT'
5 changes: 4 additions & 1 deletion apibackuper/cmds/project.py
Original file line number Diff line number Diff line change
Expand Up @@ -216,7 +216,10 @@ def run(self, mode):

# print(json.dumps(start_page_data, ensure_ascii=False))
end = timer()
total_number_key = conf.get('data', 'total_number_key')
try:
total_number_key = conf.get('data', 'total_number_key')
except:
total_number_key = None
try:
pages_number_key = conf.get('data', 'pages_number_key')
except:
Expand Down

0 comments on commit de6fe64

Please sign in to comment.