From dddeeeed994bce7ecdd5f1ed3db89b365306e2d8 Mon Sep 17 00:00:00 2001 From: Ben Date: Thu, 11 Apr 2019 01:04:28 +0100 Subject: [PATCH] Remove unneeded await statements --- Houdini/HoudiniFactory.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Houdini/HoudiniFactory.py b/Houdini/HoudiniFactory.py index 8556d4a..2a7fda7 100644 --- a/Houdini/HoudiniFactory.py +++ b/Houdini/HoudiniFactory.py @@ -122,8 +122,8 @@ class HoudiniFactory: self.config.redis['Address'], self.redis['Port']), minsize=5, maxsize=10) - await self.redis.delete('{}.players'.format(self.server_name)) - await self.redis.delete('{}.population'.format(self.server_name)) + self.redis.delete('{}.players'.format(self.server_name)) + self.redis.delete('{}.population'.format(self.server_name)) self.cache = SimpleMemoryCache(namespace='houdini', ttl=self.server_config['CacheExpiry'])