summaryrefslogtreecommitdiff
path: root/capture-pipeline
diff options
context:
space:
mode:
authorPaul Kocialkowski2022-10-28 16:03:54 +0200
committerPaul Kocialkowski2022-10-28 17:58:42 +0200
commit9d839c50cedd8c5d5e6f705591019ad9dfe7b158 (patch)
tree696786b97adb952691955039aebe6da3700a0cf2 /capture-pipeline
parenta8360c30c7be213ab4b90dcf1134be6574065b0c (diff)
capture-pipeline: Remove settings_entry
Signed-off-by: Paul Kocialkowski <contact@paulk.fr>
Diffstat (limited to 'capture-pipeline')
-rwxr-xr-xcapture-pipeline12
1 files changed, 3 insertions, 9 deletions
diff --git a/capture-pipeline b/capture-pipeline
index 1a8ecde..b241499 100755
--- a/capture-pipeline
+++ b/capture-pipeline
@@ -19,19 +19,13 @@ def selection_skip(item):
settings = {}
-def settings_entry(entry):
- global settings
-
- if entry in settings:
- return settings[entry]
- else:
- return None
-
def settings_item_entry(item, entry):
if entry in item:
return item[entry]
+ elif entry in settings:
+ return settings[entry]
else:
- return settings_entry(entry)
+ return None
# timecode