Skip to content

Commit

Permalink
Use 'str' instead of 'unicode'
Browse files Browse the repository at this point in the history
  • Loading branch information
comrat committed Mar 19, 2024
1 parent f886cbd commit ba67f47
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion compiler/ts.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ def load(self, el):
def save(self, parent):
loc = ET.SubElement(parent, 'location')
loc.attrib['filename'] = self.filename
loc.attrib['line'] = unicode(self.line)
loc.attrib['line'] = str(self.line)

class Translation(object):
def __init__(self, type = None, text = None):
Expand Down

0 comments on commit ba67f47

Please sign in to comment.