Browse Source

LOG_SESSIONS should use self.integer

master
Neil Booth 8 years ago
parent
commit
5053101cee
  1. 2
      server/env.py

2
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')

Loading…
Cancel
Save