cleanup setup.py (#16)

* cleanup setup.

* fix pylint.
This commit is contained in:
Dave Gallant
2019-09-08 23:26:42 -04:00
committed by GitHub
parent f4852722bb
commit 0965aa0507
8 changed files with 89 additions and 48 deletions

View File

@@ -1,4 +1,4 @@
# -*- coding: utf-8 -*-
from __future__ import unicode_literals
version = '0.1.8'
version = '0.1.9'

View File

@@ -180,7 +180,7 @@ def get_posts(post, count=5, tail=False, per_page=40):
_posts = response.json().get("posts")
# Determine which post to start with (for --tail)
if page == start_page and not start_post == 0:
if page == start_page and start_post != 0:
if tail:
_posts = _posts[start_post - 1 :]
else: