Skip to content
This repository has been archived by the owner on Jun 8, 2019. It is now read-only.

Commit

Permalink
Removed some cruft from the encode method.
Browse files Browse the repository at this point in the history
  • Loading branch information
lukeman committed May 3, 2009
1 parent e3cc593 commit 868247c
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions tootfiles.py
Expand Up @@ -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()

Expand Down

0 comments on commit 868247c

Please sign in to comment.