diff roundup/cgi/client.py @ 6467:679ec82798e9

Fix typo referencing config.
author John Rouillard <rouilj@ieee.org>
date Wed, 18 Aug 2021 21:00:11 -0400
parents 8f1b91756457
children e162845193c4
line wrap: on
line diff
--- a/roundup/cgi/client.py	Wed Aug 11 12:45:04 2021 -0400
+++ b/roundup/cgi/client.py	Wed Aug 18 21:00:11 2021 -0400
@@ -2101,7 +2101,7 @@
 
     def compress_encode(self, byte_content, quality=4):
 
-        if not self.db.config.WEB_DYNAMIC_COMPRESSION:
+        if not self.instance.config.WEB_DYNAMIC_COMPRESSION:
             # dynamic compression disabled.
             return byte_content
 

Roundup Issue Tracker: http://roundup-tracker.org/