Skip to content

Commit 64e9bb1

Browse files
committed
fix: cast study_id to int
1 parent b073809 commit 64e9bb1

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎trd_cli/main.py‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -183,7 +183,7 @@ def run(
183183
LOGGER.info(
184184
f"Generating record names for {len(new_participants)} new participants: {', '.join(new_participants)}."
185185
)
186-
record_names_start_at = redcap_project.generate_next_record_name()
186+
record_names_start_at = int(redcap_project.generate_next_record_name())
187187
for i, p_id in enumerate(new_participants):
188188
try:
189189
new_id = record_names_start_at + i

0 commit comments

Comments
 (0)