diff --git a/server/env.py b/server/env.py index 2ff44e0..6b6f111 100644 --- a/server/env.py +++ b/server/env.py @@ -41,7 +41,7 @@ class Env(LoggedClass): self.max_subscriptions = self.integer('MAX_SUBSCRIPTIONS', 10000) self.banner_file = self.default('BANNER_FILE', None) self.anon_logs = self.default('ANON_LOGS', False) - self.log_sessions = self.default('LOG_SESSIONS', 3600) + self.log_sessions = self.integer('LOG_SESSIONS', 3600) # The electrum client takes the empty string as unspecified self.donation_address = self.default('DONATION_ADDRESS', '') self.db_engine = self.default('DB_ENGINE', 'leveldb')