diff --git a/irc3/plugins/casefold.py b/irc3/plugins/casefold.py
index <HASH>..<HASH> 100644
--- a/irc3/plugins/casefold.py
+++ b/irc3/plugins/casefold.py
@@ -48,11 +48,14 @@ class Casefold(object):
     # casemapping
     @irc3.event(r'^:\S+ 005 \S+ .+CASEMAPPING.*')
     def recalculate_casemaps(self):
-        casemapping = self.bot.config.get('server_config', {}).get('CASEMAPPING', 'rfc1459')
+        casemapping = self.bot.config['server_config'].get('CASEMAPPING',
+                                                           'rfc1459')
 
         if casemapping == 'rfc1459':
-            lower_chars = string.ascii_lowercase + ''.join(chr(i) for i in range(123, 127))
-            upper_chars = string.ascii_uppercase + ''.join(chr(i) for i in range(91, 95))
+            lower_chars = (string.ascii_lowercase +
+                           ''.join(chr(i) for i in range(123, 127)))
+            upper_chars = (string.ascii_uppercase +
+                           ''.join(chr(i) for i in range(91, 95)))
 
         elif casemapping == 'ascii':
             lower_chars = string.ascii_lowercase
Fix Casefolding PEP8 errors