summaryrefslogtreecommitdiff
path: root/tablib
diff options
context:
space:
mode:
authorClaude Paroz <claude@2xlibre.net>2018-07-07 14:09:28 +0200
committerClaude Paroz <claude@2xlibre.net>2019-10-04 09:36:42 +0200
commit8ea082ce604c9517bc999fc9af2a26e5eff19f7e (patch)
tree1b9ac77a3750591755dfe510f921583d6000d528 /tablib
parenta0df54ca2234f904dcc1ccc189cbcd173d59f691 (diff)
downloadtablib-8ea082ce604c9517bc999fc9af2a26e5eff19f7e.tar.gz
Fixes #274 - Fix Databook.load() params ordering
Diffstat (limited to 'tablib')
-rw-r--r--tablib/core.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tablib/core.py b/tablib/core.py
index e5244f6..6c4a4bf 100644
--- a/tablib/core.py
+++ b/tablib/core.py
@@ -1089,7 +1089,7 @@ class Databook(object):
"""The number of the :class:`Dataset` objects within :class:`Databook`."""
return len(self._datasets)
- def load(self, format, in_stream, **kwargs):
+ def load(self, in_stream, format, **kwargs):
"""
Import `in_stream` to the :class:`Databook` object using the `format`.