Commit c4da34a4 authored by Michal Čihař's avatar Michal Čihař

Fixed detection of properties based strings (issue #281)

parent a2678257
......@@ -138,7 +138,7 @@ class FileUnit(object):
'''
if self.is_unit_key_value():
# Need to decode property encoded string
if isinstance(self.unit, propunit):
if isinstance(self.mainunit, propunit):
if self.template is not None:
return quote.propertiesdecode(self.template.value)
else:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment