projects
/
pgeu-system.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7e64f2b
)
Fix tag stripping to return just the string
master
github/master
author
Magnus Hagander
<magnus@hagander.net>
Thu, 31 Jul 2025 12:44:24 +0000
(14:44 +0200)
committer
Magnus Hagander
<magnus@hagander.net>
Thu, 31 Jul 2025 12:44:24 +0000
(14:44 +0200)
postgresqleu/transferwise/api.py
patch
|
blob
|
blame
|
history
diff --git
a/postgresqleu/transferwise/api.py
b/postgresqleu/transferwise/api.py
index 86661953671abe32130415a744c95a748518f46e..6be5834e4f326bd4bfa648e62076f33ff70f080e 100644
(file)
--- a/
postgresqleu/transferwise/api.py
+++ b/
postgresqleu/transferwise/api.py
@@
-259,7
+259,7
@@
class TransferwiseApi(object):
raise Exception("Failed to parse transferwise amount from '{}'".format(amount))
def strip_tw_tags(self, s):
- return re.subn('</?(strong|positive|negative|strikethrough)>', '', s)
+ return re.subn('</?(strong|positive|negative|strikethrough)>', '', s)
[0]
def validate_iban(self, iban):
try: