diff --git a/Convert-3.3.1.alfredworkflow b/Convert-3.4.alfredworkflow similarity index 94% rename from Convert-3.3.1.alfredworkflow rename to Convert-3.4.alfredworkflow index 8a5887c..59c9133 100644 Binary files a/Convert-3.3.1.alfredworkflow and b/Convert-3.4.alfredworkflow differ diff --git a/src/convert.py b/src/convert.py index 6fc5cb7..c0c6580 100755 --- a/src/convert.py +++ b/src/convert.py @@ -368,10 +368,12 @@ def parse_quantity(self, query): """ qty = [] - qtychars = ('1234567890' + self.thousands_separator + + qtychars = ('+-1234567890' + self.thousands_separator + self.decimal_separator) for c in query: if c in qtychars: + if c == '+': + qty.append('') if c == self.thousands_separator: log.debug('ignored thousands separator "%s"', c) # Append an empty string so qty length is correct diff --git a/src/info.plist b/src/info.plist index b3a300b..b41c563 100644 --- a/src/info.plist +++ b/src/info.plist @@ -637,7 +637,7 @@ UPDATE_INTERVAL is the number of minutes between exchange rate updates. APP_KEY version - 3.3.1 + 3.4 webaddress