Skip to content

Commit

Permalink
Bugfix - otherwise no pdf generated in diff function
Browse files Browse the repository at this point in the history
  • Loading branch information
sanjayankur31 committed Mar 1, 2016
1 parent 4f5f0ee commit 8c4f568
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions zaphod.py
Original file line number Diff line number Diff line change
Expand Up @@ -201,6 +201,7 @@ def diff(self, args):
newfile = open(self.filelist[i], 'w')
newfile.write(changedtext.decode("ascii"))
newfile.close()
self.modifiedfiles += [self.filelist[i]]

os.remove(self.rev1filelist[i])
os.remove(self.rev2filelist[i])
Expand Down

0 comments on commit 8c4f568

Please sign in to comment.