mirror of
https://github.com/davegallant/rfd.git
synced 2025-08-07 09:02:32 +00:00
@@ -1,4 +1,4 @@
|
||||
# -*- coding: utf-8 -*-
|
||||
from __future__ import unicode_literals
|
||||
|
||||
version = '0.1.8'
|
||||
version = '0.1.9'
|
||||
|
@@ -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:
|
||||
|
Reference in New Issue
Block a user