Skip to content

Commit

Permalink
Refactoring
Browse files Browse the repository at this point in the history
  • Loading branch information
Klaus Thoden committed Feb 9, 2018
1 parent a09a2fb commit 15883c6
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions eoaconvert.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/usr/bin/env python3
# -*- coding: utf-8; mode: python -*-
# Time-stamp: <2018-01-25 14:07:19 (kthoden)>
# Time-stamp: <2018-01-26 09:53:29 (kthoden)>

# license?
__version__= "1.0"
Expand Down Expand Up @@ -967,14 +967,14 @@ def cleanup():
citeproc_arguments = shlex.split(citeproc_command)
citeproc_process = subprocess.Popen(citeproc_arguments, stdout=subprocess.PIPE)
citeproc_json = citeproc_process.stdout.read()
citations_json = json.loads(citeproc_json)
# for x in citations_json:
# print(x["title"])

# with open(interim_bib_json_file, 'w') as ibjf:
# json.dump(citeproc_json.decode('utf-8'), ibjf)

citations_json = json.loads(citeproc_json)

# for x in citations_json:
# print(x["title"])

####################
# the old solution #
Expand Down

0 comments on commit 15883c6

Please sign in to comment.