Skip to content

Commit b3fcf8a

Browse files
author
Hans-Chrstian
committed
fix isnumeric syntax
1 parent cf34e1a commit b3fcf8a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ckanext/fairdatapoint/labels.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ def resolve_labels(package_dict: dict) -> int:
6969

7070
if "success" not in updated_labels:
7171
log.warning("Error updating labels: %s", updated_labels)
72-
if updated_labels["success"].IsNumeric():
72+
if updated_labels["success"].isnumeric():
7373
if not (len(translation_list) == int(updated_labels["success"])):
7474
log.warning(
7575
"Of %d labels, only %s updated successfully",

0 commit comments

Comments
 (0)