chiark
/
gitweb
/
~ianmdlvl
/
cura.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
139b723
)
Possibly fix http://umforum.ultimaker.com/index.php?/topic/9240-did-1501-rc9-update...
author
daid
<daid303@gmail.com>
Thu, 22 Jan 2015 15:41:01 +0000
(16:41 +0100)
committer
daid
<daid303@gmail.com>
Thu, 22 Jan 2015 15:41:01 +0000
(16:41 +0100)
Cura/util/bigDataStorage.py
patch
|
blob
|
history
diff --git
a/Cura/util/bigDataStorage.py
b/Cura/util/bigDataStorage.py
index b3894dace654e0a2f8161ab2bd0c7868dc45a207..7f1653627200b877ba0ab8faf5a62789ffce67ea 100644
(file)
--- a/
Cura/util/bigDataStorage.py
+++ b/
Cura/util/bigDataStorage.py
@@
-62,11
+62,11
@@
class BigDataStorage(object):
def next(self):
\r
if self._iter_index < len(self._list):
\r
ret = self._list[self._iter_index].readline()
\r
- if ret == '':
\r
+ if ret == ''
or (ret[-1] != '\n' and ret[-1] != '\r')
:
\r
self._iter_index += 1
\r
if self._iter_index < len(self._list):
\r
self._list[self._iter_index].seek(0)
\r
- return self.next()
\r
+ return
ret +
self.next()
\r
return ret
\r
raise StopIteration
\r
\r