Skip to content

Commit

Permalink
- fixed another unicode error on windows (close #131)
Browse files Browse the repository at this point in the history
Former-commit-id: 89ee076072fd369d908706946247f000b2ef895d [formerly 721e048beeebf25283a0d9e173306a6d02a54fed] [formerly 1990284e10ea3551349a17f58cbd259a5f401149 [formerly a1c59ca7ab002d869b75f880a14450b23674b58a]] [formerly 29617311243427d63ab5a74a40a7b69922ef7468 [formerly ce871f3f82736840eb168519748e42d723be6e87] [formerly e528f9a06ee9407c1b8e594e35073324a8272180 [formerly 41c92a6]]]
Former-commit-id: 65eac5409a12bfa050ecf2bf6c186eb7e6e0b2ed [formerly d71e578c5b036dba4be128df7c056cd51ea73bfa] [formerly c6300d9d3f24257a38b17f3a99161902ec85b241 [formerly dad023413c19bcabb7583e5353eb522dce39d5a9]]
Former-commit-id: af32bebc7392771bd27af95c1e11939241071406 [formerly da2075b462a9ed031b846b1325ac0aa64b73c2ef]
Former-commit-id: cdbc8f52ce5c1d35d8b34c13d18c2662ee114257
  • Loading branch information
paulmueller committed Sep 29, 2015
1 parent 32d3f34 commit 6c7d33f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pycorrfit/tools/statistics.py
Original file line number Diff line number Diff line change
Expand Up @@ -599,14 +599,14 @@ def OnSaveTable(self, event=None):
# Write header
linestring = u""
for atuple in self.SaveInfo[0]:
linestring += str(atuple[0])+u"\t"
linestring += u"{}\t".fotmat(atuple[0])
# remove trailing "\t"
openedfile.write(linestring.strip()+u"\r\n")
# Write data
for item in self.SaveInfo:
linestring = ""
for btuple in item:
linestring += str(btuple[1])+u"\t"
linestring += u"{}\t".format(btuple[1])
openedfile.write(linestring.strip()+u"\r\n")
openedfile.close()
else:
Expand Down

0 comments on commit 6c7d33f

Please sign in to comment.