Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Removed some cruft from the encode method.

  • Loading branch information...
commit 868247c9200f5acfd4989f0c9822d1a1f3f7ea3d 1 parent e3cc593
Luke Hatcher authored

Showing 1 changed file with 1 addition and 2 deletions. Show diff stats Hide diff stats

  1. +1 2  tootfiles.py
3  tootfiles.py
@@ -50,8 +50,7 @@ def _encode(self):
50 50 def _segment(self, data, n=140):
51 51 ''' Given the encoded string, slice it into twitter ready array elements '''
52 52 self.tootcount = int(math.ceil(len(data)/float(n)))
53   - slices = range(self.tootcount,0,-1)
54   - slices.reverse()
  53 +
55 54 slices = range(self.tootcount)
56 55 slices.reverse()
57 56

0 comments on commit 868247c

Please sign in to comment.
Something went wrong with that request. Please try again.