aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--bh20simplewebuploader/main.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/bh20simplewebuploader/main.py b/bh20simplewebuploader/main.py
index e31f18b..34dc354 100644
--- a/bh20simplewebuploader/main.py
+++ b/bh20simplewebuploader/main.py
@@ -48,7 +48,7 @@ def name_to_label(field_name):
"""
# May end in a number, which should be set off by a space
- set_off_number = re.sub('([0-9])$', r' \1', field_name)
+ set_off_number = re.sub('([0-9]+)$', r' \1', field_name)
return string.capwords(set_off_number.replace('_', ' '))