diff options
| author | Roman <reclosedev@gmail.com> | 2012-04-11 21:21:11 +0400 |
|---|---|---|
| committer | Roman <reclosedev@gmail.com> | 2012-04-11 21:21:11 +0400 |
| commit | 09bfcb70e64fc50241fcedbebf775d91c18b7f76 (patch) | |
| tree | 00589f0b5018723e0ac5d942565cbad1570ec9db /requests_cache/backends/sqlite.py | |
| parent | 46b0a1c5a5d9570e730027e14f93219d4c8746fa (diff) | |
| download | requests-cache-09bfcb70e64fc50241fcedbebf775d91c18b7f76.tar.gz | |
connection option for MongoCache
Diffstat (limited to 'requests_cache/backends/sqlite.py')
| -rw-r--r-- | requests_cache/backends/sqlite.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/requests_cache/backends/sqlite.py b/requests_cache/backends/sqlite.py index b07aaa8..83bab79 100644 --- a/requests_cache/backends/sqlite.py +++ b/requests_cache/backends/sqlite.py @@ -16,11 +16,11 @@ class DbCache(BaseCache): Reading is fast, saving is a bit slower. It can store big amount of data with low memory usage. """ - def __init__(self, location='cache', *args, **kwargs): + def __init__(self, location='cache', **options): """ :param location: database filename prefix (default: ``'cache'``) """ - super(DbCache, self).__init__(*args, **kwargs) + super(DbCache, self).__init__() self.responses = DbPickleDict(location, 'responses') self.url_map = DbDict(location, 'urls', self.responses) |
