FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

use property instead of call · dronedeploy/python-client@ec8cfb7 · GitHub

This repository was archived by the owner on May 5, 2022. It is now read-only.

Commit ec8cfb7

Browse files
Chase Gray
committed
use property instead of call
2 parents 393f8b0 + 07891bc commit ec8cfb7

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎ldclient/client.py‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -195,7 +195,7 @@ def is_offline(self):
195195

196196
def is_initialized(self):
197197
flags_in_redis = self._store.all()
198-
return self.is_offline() or self._config.use_ldd or self._update_processor.initialized() or (self._store.initialized() and flags_in_redis and len(flags_in_redis) > 0)
198+
return self.is_offline() or self._config.use_ldd or self._update_processor.initialized() or (self._store.initialized and flags_in_redis and len(flags_in_redis) > 0)
199199

200200
def flush(self):
201201
if self._config.offline or not self._config.events_enabled:

0 commit comments

Comments
 (0)

Back | FazBrowse Home | New Git URL