Skip to content

Commit

Permalink
Minor updates
Browse files Browse the repository at this point in the history
  • Loading branch information
smeech committed Dec 13, 2024
1 parent fbfae7f commit ad70abf
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 6 deletions.
2 changes: 1 addition & 1 deletion packages/form-list/0.2.0/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ You will need to edit the entries in the `form_urls.csv`. The sample lines are a
| --- | --- |
| gmail | https://gmail.com/ |

**Separate the two fields with a comma.** Remember to save the file! Ensure you retain its UTF-8 encoding. Some spreadsheet programs will switch to UTF-8-BOM.
**Separate the two fields with a comma.** Remember to save the file! Ensure you retain its UTF-8 encoding - spreadsheet programs may switch to UTF-8-BOM.

## Reuse

Expand Down
8 changes: 3 additions & 5 deletions packages/form-list/0.2.0/package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,11 +28,12 @@ matches:
import csv
with open(r'{{urlcsv}}', newline='') as f:
for row in csv.reader(f): print(row[0])
# Form
- name: choice
type: form
params:
layout: |
Get link to D65 form:
Get link for:
[[choices]]
fields:
choices:
Expand All @@ -50,7 +51,4 @@ matches:
with open(r'{{urlcsv}}', newline='') as f:
for row in csv.reader(f):
if row[0] == '{{choice.choices}}':
print(row[1])
break
print(row[1]) ; break

0 comments on commit ad70abf

Please sign in to comment.