Skip to content

Commit 39c2844

Browse files
authored
docs: split only Leaf aliases in support table
Actually do as the comment suggests, and only up to the first delimiter. Prevents e.g. Kodak DCS Pro SLR/n from being split.
1 parent 9ed233c commit 39c2844

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/CameraSupport.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ Camera Support
8282
models = OrderedDict(sorted(models.items()))
8383
for model, content in models.items():
8484
# Leaf cameras have aliases in their model name, we need to split them here
85-
aliases = model.split("/")
85+
aliases = model.split("/", 1) if make == "Leaf" else model
8686
model_name = aliases[0]
8787

8888
# Concatenate official aliases with the ones we found above

0 commit comments

Comments
 (0)