Skip to content

Commit

Permalink
Call the function introduced in 1a427e8 (#96)
Browse files Browse the repository at this point in the history
This should resolve the bug in #94 (which commit 1a427e8 was intended to resolve, but forgot to actually call the function).
  • Loading branch information
daniel347x authored and jtv committed May 30, 2018
1 parent 1a427e8 commit 547a917
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tools/splitconfig
Expand Up @@ -180,7 +180,7 @@ def generate_config(source_tree, header_lines, items, publication, factor):
config_file = os.path.join(
source_tree, 'include', 'pqxx',
'config-%s-%s.h' % (publication, factor))
unicode_path = config_file.encode(stdout.encoding, 'replace')
unicode_path = config_file.encode(guess_output_encoding(), 'replace')
section = extract_section(header_lines, items, publication, factor)
if len(section) == 0:
print("Generating %s: no items--skipping." % unicode_path)
Expand Down

0 comments on commit 547a917

Please sign in to comment.