Browse Source

Fix typos.

Joe Clarke 1 year ago
parent
commit
e12df81b53
1 changed files with 2 additions and 2 deletions
  1. 2 2
      automation/syslog-ng-filters/err_disable.py

+ 2 - 2
automation/syslog-ng-filters/err_disable.py

@@ -95,5 +95,5 @@ if __name__ == "__main__":
 
                         del curr_ports[f"{host}:{m.group(1)}"]
 
-        with open(CACHE_FILE, "w"):
-            json.dump(fd, curr_ports)
+        with open(CACHE_FILE, "w") as fd:
+            json.dump(curr_ports, fd)