summaryrefslogtreecommitdiff
path: root/omptagger
diff options
context:
space:
mode:
Diffstat (limited to 'omptagger')
-rwxr-xr-xomptagger7
1 files changed, 6 insertions, 1 deletions
diff --git a/omptagger b/omptagger
index 75a0b90..074c4fb 100755
--- a/omptagger
+++ b/omptagger
@@ -120,7 +120,12 @@ class Metadata
field.upcase!
- @tags[field] << value
+ if @tags.has_key?(field)
+ @tags[field] << value
+ else
+ @tags[field] = value
+ end
+
output(field, value)
@write = true