Fix a TODO

This commit is contained in:
Dave Halter
2020-07-02 01:56:23 +02:00
parent eea35ffc31
commit 9838040ca3
3 changed files with 3 additions and 5 deletions
+1 -1
View File
@@ -93,7 +93,7 @@ def _add_strings(context, nodes, add_slash=False):
return None
if not first and add_slash:
string += os.path.sep
string += str(s, errors='replace')
string += s
first = False
return string
+1 -1
View File
@@ -144,7 +144,7 @@ def get_int_or_none(value):
def get_str_or_none(value):
return _get_safe_value_or_none(value, (bytes, unicode))
return _get_safe_value_or_none(value, str)
def is_number(value):