Skip to content

Commit

Permalink
fix bug of copying output.md
Browse files Browse the repository at this point in the history
  • Loading branch information
psj1997 committed Jun 12, 2020
1 parent 1d1f6ee commit ea5ae1c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion gmgc_finder/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -342,7 +342,7 @@ def main(args=None):
ofile.write(s+'\n')


output_content = resource_string('gmgc_finder', 'output.md')
output_content = resource_string(__name__, 'output.md')
with safeout(out+'/README.md', 'wt') as ofile:
ofile.write(bytes.decode(output_content))

Expand Down Expand Up @@ -371,5 +371,6 @@ def main(args=None):
yaml.dump(run_metadata, ofile, default_flow_style=False)



if __name__ == '__main__':
main(sys.argv)

0 comments on commit ea5ae1c

Please sign in to comment.