Skip to content

Commit 1bfbee5

Browse files
committed
Use get for getting value from a dict
1 parent 3073878 commit 1bfbee5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

linodecli/configuration/config.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -294,7 +294,7 @@ def update(
294294
if key.startswith("plugin-"):
295295
continue
296296

297-
value = self.config.get(username, key, fallback=ns_dict[key])
297+
value = self.config.get(username, key, fallback=ns_dict.get(key))
298298

299299
if not value:
300300
continue

0 commit comments

Comments
 (0)