diff options
| author | 2020-05-16 23:43:22 +0200 | |
|---|---|---|
| committer | 2020-05-16 23:43:22 +0200 | |
| commit | 5859711a05e634d7b788944b8292071cb1e7cf72 (patch) | |
| tree | dd85fdd033cc3df707b66d79b94946a34976b807 | |
| parent | Add basic dict methods for RedisDict. (diff) | |
copy should dictify the .items(), not just keys.
| -rw-r--r-- | bot/utils/redis.py | 2 | 
1 files changed, 1 insertions, 1 deletions
diff --git a/bot/utils/redis.py b/bot/utils/redis.py index 1e8c6422d..470de47b7 100644 --- a/bot/utils/redis.py +++ b/bot/utils/redis.py @@ -77,4 +77,4 @@ class RedisDict(MutableMapping):      def copy(self) -> Dict:          """Convert to dict and return.""" -        return dict(self) +        return dict(self.items())  |