summaryrefslogtreecommitdiff
path: root/ishtar_common/models.py
diff options
context:
space:
mode:
Diffstat (limited to 'ishtar_common/models.py')
-rw-r--r--ishtar_common/models.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/ishtar_common/models.py b/ishtar_common/models.py
index b804739ad..d0612d648 100644
--- a/ishtar_common/models.py
+++ b/ishtar_common/models.py
@@ -2706,7 +2706,7 @@ def get_external_id(key, item):
formula = getattr(profile, key)
dct = {}
for fkey in PARSE_FORMULA.findall(formula):
- filtered = fkey.split(u'|')
+ filtered = fkey.split('|')
initial_key = fkey[:]
fkey = filtered[0]
filters = []
@@ -2740,7 +2740,7 @@ def get_external_id(key, item):
value = values[0]
for filtr in values[1:]:
if filtr not in FORMULA_FILTERS:
- value += u'||' + filtr
+ value += '||' + filtr
continue
value = FORMULA_FILTERS[filtr](value)
return value