Permalink
Browse files

Removed some cruft from the encode method.

  • Loading branch information...
1 parent e3cc593 commit 868247c9200f5acfd4989f0c9822d1a1f3f7ea3d @lukeman committed May 3, 2009
Showing with 1 addition and 2 deletions.
  1. +1 −2 tootfiles.py
View
@@ -50,8 +50,7 @@ def _encode(self):
def _segment(self, data, n=140):
''' Given the encoded string, slice it into twitter ready array elements '''
self.tootcount = int(math.ceil(len(data)/float(n)))
- slices = range(self.tootcount,0,-1)
- slices.reverse()
+
slices = range(self.tootcount)
slices.reverse()

0 comments on commit 868247c

Please sign in to comment.