Skip to content

Commit 5c25270

Browse files
authored
Fix instance config pull (#157)
1 parent 609e940 commit 5c25270

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

ctfcli/core/instance/config.py

+4-4
Original file line numberDiff line numberDiff line change
@@ -47,10 +47,10 @@ def getall():
4747
config[c["key"]] = c["value"]
4848

4949
# Not much point in saving internal configs
50-
del config["ctf_version"]
51-
del config["version_latest"]
52-
del config["next_update_check"]
53-
del config["setup"]
50+
config.pop("ctf_version", None)
51+
config.pop("version_latest", None)
52+
config.pop("next_update_check", None)
53+
config.pop("setup", None)
5454

5555
return config
5656

0 commit comments

Comments
 (0)