Skip to content

Commit

Permalink
fixed merge error
Browse files Browse the repository at this point in the history
  • Loading branch information
JohannesDev committed May 11, 2018
1 parent 03b90d2 commit 7f98dbb
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 13 deletions.
9 changes: 0 additions & 9 deletions letterstat.py
Original file line number Diff line number Diff line change
Expand Up @@ -52,13 +52,8 @@ def readArgv(argv):
def readLetters(inputfile, graphsize):
graphsize = int(graphsize)
text = ''

try:
<<<<<<< HEAD
file = open (path, 'r')
=======
file = open (inputfile, 'r')
>>>>>>> bb2468ac471a972d0bbb65cf65704e3374362e00
text = file.read()
file.close

Expand Down Expand Up @@ -96,11 +91,7 @@ def showGraph(maxValues, inputfile, outputfile):
chart.render_to_file(outputfile)

except IOError:
<<<<<<< HEAD
print('Could not write file: ' + outputfile)
=======
print('Could not write file: ', outputfile)
>>>>>>> bb2468ac471a972d0bbb65cf65704e3374362e00
sys.exit(2)

else:
Expand Down
Loading

0 comments on commit 7f98dbb

Please sign in to comment.