diff --git a/plugins/mail.py b/plugins/mail.py
index 869b625be8d4652be94827dec177886ac1dae96d..2c1cdaa77ef90d35bb01db39b4d4a7a90c217982 100644
--- a/plugins/mail.py
+++ b/plugins/mail.py
@@ -142,7 +142,7 @@ Temperator"""
             temperatures = "{name1}:{temp1}\n{name2}:{temp2}".format(**kwargs)
             reason = "Differenztemperatur: {tempdiff}".format(**kwargs)
         elif source == "singlehot":
-            temperatures="{name}:{temp}".format(**kwargs)
+            temperatures = "{name}:{temp}".format(**kwargs)
             reason = "Einzeltemperatur zu hoch"
 
         alltemperatures = '\n'.join([
diff --git a/plugins/warnings.py b/plugins/warnings.py
index 707e80c37ebf023e5820bc9c39b96e02b10cedf7..02d3530f15e2da203fe99ac5c238e3bc23ca98b3 100644
--- a/plugins/warnings.py
+++ b/plugins/warnings.py
@@ -108,23 +108,23 @@ class PluginWarning:
                 stattype="temperature-floor_ceil_diff", stattime=now, statval=tempdiff)
 
             print("floor: min {:05.2f} max {:05.2f} avg {:05.2f} var {:05.2f}".format(
-                    floor_min, floor_max, floor_avg, floor_var))
+                floor_min, floor_max, floor_avg, floor_var))
             print("ceil:  min {:05.2f} max {:05.2f} avg {:05.2f} var {:05.2f}".format(
-                    ceil_min, ceil_max, ceil_avg, ceil_var))
+                ceil_min, ceil_max, ceil_avg, ceil_var))
 
             # Here comes the warning magic
             if ceil_max > int(self.warning_conf['min_ceiling_warning']):
                 if  tempdiff > int(self.warning_conf['floor_ceiling_diff']):
                     await self.monitor.call_plugin("temperature_warning",
-                                                source="tempdiff",
-                                                name1="floor",
-                                                name2="ceiling",
-                                                temp1=floor_avg,
-                                                temp2=ceil_avg,
-                                                tempdiff=tempdiff)
+                                                   source="tempdiff",
+                                                   name1="floor",
+                                                   name2="ceiling",
+                                                   temp1=floor_avg,
+                                                   temp2=ceil_avg,
+                                                   tempdiff=tempdiff)
 
             if ceil_avg > int(self.warning_conf['ceiling_warning_level']):
                 await self.monitor.call_plugin("temperature_warning",
-                                            source="singlehot",
-                                            name="ceiling",
-                                            temp=ceil_avg)
+                                               source="singlehot",
+                                               name="ceiling",
+                                               temp=ceil_avg)