From 04e1149cadce034fc36fd6a593975432c6c99d07 Mon Sep 17 00:00:00 2001 From: Rhet Turnbull Date: Sun, 29 May 2022 08:18:18 -0700 Subject: [PATCH] Fixed docs --- osxphotos/phototemplate.md | 2 +- osxphotos/phototemplate.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/osxphotos/phototemplate.md b/osxphotos/phototemplate.md index d38ac59e..6a10675d 100644 --- a/osxphotos/phototemplate.md +++ b/osxphotos/phototemplate.md @@ -51,7 +51,7 @@ Valid filters are: - `rsort`: Sort list of values in reverse order, e.g. ['a', 'b', 'c'] => ['c', 'b', 'a']. - `reverse`: Reverse order of values, e.g. ['a', 'b', 'c'] => ['c', 'b', 'a']. - `uniq`: Remove duplicate values, e.g. ['a', 'b', 'c', 'b', 'a'] => ['a', 'b', 'c']. -- `join(x)`: Join list of values with delimiter x, e.g. join(:): ['a', 'b', 'c'] => 'a:b:c'; the DELIM option functions similar to join(x) but with DELIM, the join happens before being passed to any filters.May optionally be used without an argument, that is 'join()' which joins values together with no delimiter. e.g. join(): ['a', 'b', 'c'] => 'abc'. +- `join(x)`: Join list of values with delimiter x, e.g. join(,): ['a', 'b', 'c'] => 'a,b,c'; the DELIM option functions similar to join(x) but with DELIM, the join happens before being passed to any filters.May optionally be used without an argument, that is 'join()' which joins values together with no delimiter. e.g. join(): ['a', 'b', 'c'] => 'abc'. - `append(x)`: Append x to list of values, e.g. append(d): ['a', 'b', 'c'] => ['a', 'b', 'c', 'd']. - `prepend(x)`: Prepend x to list of values, e.g. prepend(d): ['a', 'b', 'c'] => ['d', 'a', 'b', 'c']. - `remove(x)`: Remove x from list of values, e.g. remove(b): ['a', 'b', 'c'] => ['a', 'c']. diff --git a/osxphotos/phototemplate.py b/osxphotos/phototemplate.py index f2a389d5..c4426fd1 100644 --- a/osxphotos/phototemplate.py +++ b/osxphotos/phototemplate.py @@ -255,7 +255,7 @@ FILTER_VALUES = { "rsort": "Sort list of values in reverse order, e.g. ['a', 'b', 'c'] => ['c', 'b', 'a'].", "reverse": "Reverse order of values, e.g. ['a', 'b', 'c'] => ['c', 'b', 'a'].", "uniq": "Remove duplicate values, e.g. ['a', 'b', 'c', 'b', 'a'] => ['a', 'b', 'c'].", - "join(x)": "Join list of values with delimiter x, e.g. join(:): ['a', 'b', 'c'] => 'a:b:c'; " + "join(x)": "Join list of values with delimiter x, e.g. join(,): ['a', 'b', 'c'] => 'a,b,c'; " + "the DELIM option functions similar to join(x) but with DELIM, the join happens before being passed to any filters." + "May optionally be used without an argument, that is 'join()' which joins values together with no delimiter. " + "e.g. join(): ['a', 'b', 'c'] => 'abc'.",