mirror of
https://github.com/idapython/src
synced 2026-06-08 14:47:00 +00:00
IDAPython for IDA 8.3
This commit is contained in:
@@ -3,7 +3,6 @@ from __future__ import print_function
|
||||
import os
|
||||
import re
|
||||
import sys
|
||||
import six
|
||||
import xml.etree.ElementTree as ET
|
||||
from argparse import ArgumentParser
|
||||
|
||||
@@ -349,7 +348,7 @@ with open(args.input) as f:
|
||||
current_function_proto = None
|
||||
|
||||
if subst is not None:
|
||||
if isinstance(subst, six.string_types):
|
||||
if isinstance(subst, str):
|
||||
subst = [subst]
|
||||
all_lines.extend(map(lambda l: "%s\n" % l, subst))
|
||||
else:
|
||||
|
||||
Reference in New Issue
Block a user