summaryrefslogtreecommitdiff
path: root/ick2/apibase.py
diff options
context:
space:
mode:
authorLars Wirzenius <liw@liw.fi>2019-07-14 12:50:04 +0300
committerLars Wirzenius <liw@liw.fi>2019-08-03 21:06:50 +0300
commit581f6cd53f57599326439dccb355e882e7858faa (patch)
tree19236daf6feaab66dd07b8cbcdb609db4b653be1 /ick2/apibase.py
parent97f3390944d2189d6bf0be2f2d451784c71e1856 (diff)
downloadick2-581f6cd53f57599326439dccb355e882e7858faa.tar.gz
Add: MemoryPersitentState
Diffstat (limited to 'ick2/apibase.py')
-rw-r--r--ick2/apibase.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/ick2/apibase.py b/ick2/apibase.py
index c08f7cf..f330eae 100644
--- a/ick2/apibase.py
+++ b/ick2/apibase.py
@@ -1,4 +1,4 @@
-# Copyright (C) 2017-2018 Lars Wirzenius
+# Copyright (C) 2017-2019 Lars Wirzenius
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
@@ -19,7 +19,7 @@ import ick2
class APIbase:
def __init__(self, state):
- assert state is None or isinstance(state, ick2.FilePersistentState)
+ assert state is None or isinstance(state, ick2.MemoryPersistentState)
self._trans = ick2.TransactionalState(state)
def get_routes(self, path):