From 2ef170eab8c4f4467d34efc59289c824ccb0bb11 Mon Sep 17 00:00:00 2001 From: Offray Luna Date: Wed, 6 Apr 2022 11:41:40 -0500 Subject: [PATCH] Ensuring ReStore singleton is opened. --- Socialmetrica.package/TweetsCollection.class/instance/store.st | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Socialmetrica.package/TweetsCollection.class/instance/store.st b/Socialmetrica.package/TweetsCollection.class/instance/store.st index b996205..6cc1b0f 100644 --- a/Socialmetrica.package/TweetsCollection.class/instance/store.st +++ b/Socialmetrica.package/TweetsCollection.class/instance/store.st @@ -1,4 +1,4 @@ accessing store - self class storeDB. "Starting the ReStore singleton." + ReStore isConnected ifFalse: [ self class storeDB]. "Starting the ReStore singleton." self tweets do: [:each | ReStore evaluateAsTransaction: [ each store ] ]. \ No newline at end of file