From 2a30abdf0444ae30171c235ba15128839e434b6b Mon Sep 17 00:00:00 2001 From: Kenny Yi Date: Tue, 24 Oct 2023 10:06:20 -0700 Subject: [PATCH] allow initialize from adapter in local mode --- statsig/spec_store.py | 4 ---- 1 file changed, 4 deletions(-) diff --git a/statsig/spec_store.py b/statsig/spec_store.py index 8636266..2be41e1 100644 --- a/statsig/spec_store.py +++ b/statsig/spec_store.py @@ -56,10 +56,6 @@ def __init__(self, network: _StatsigNetwork, options: StatsigOptions, statsig_me self._id_lists = {} def initialize(self): - if self._options.local_mode: - self._initialized = True - return - self._initialize_specs() self.initial_update_time = -1 if self.last_update_time == 0 else self.last_update_time