summaryrefslogtreecommitdiffstats
path: root/fb.py
diff options
context:
space:
mode:
authorFlorian Pritz <bluewind@xinu.at>2022-07-01 17:19:48 +0200
committerFlorian Pritz <bluewind@xinu.at>2022-07-01 17:19:48 +0200
commitf64e67c9a183ae450bd910cf14606a489c6363e9 (patch)
treef3e43aebd6d3eab6b19ab7063753df5f2ad7123f /fb.py
parentf674aa966ba72c14e95e9b82e55ec97ebded7c89 (diff)
Set default value for `clipboard_target` optionHEADv2.3.0master
Otherwise the validation will fail with a KeyError Signed-off-by: Florian Pritz <bluewind@xinu.at>
Diffstat (limited to 'fb.py')
-rwxr-xr-xfb.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/fb.py b/fb.py
index 92486af..b7c4fb8 100755
--- a/fb.py
+++ b/fb.py
@@ -432,6 +432,7 @@ class ConfigParser:
def __init__(self, file, ignoreMissing=False):
self.config = {}
self.config["pastebin"] = "https://paste.xinu.at"
+ self.config["clipboard_target"] = "default"
self.config["clipboard_cmd"] = X11_CLIPBOARD_CMD
if os.uname()[0] == "Darwin":
self.config["clipboard_cmd"] = DARWIN_CLIPBOARD_CMD