Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
B
beem
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
hive
beem
Commits
e92cdf46
Commit
e92cdf46
authored
6 years ago
by
Holger
Browse files
Options
Downloads
Patches
Plain Diff
Fix issue #126
parent
355042e5
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
beem/discussions.py
+3
-1
3 additions, 1 deletion
beem/discussions.py
with
3 additions
and
1 deletion
beem/discussions.py
+
3
−
1
View file @
e92cdf46
...
@@ -111,6 +111,7 @@ class Discussions(object):
...
@@ -111,6 +111,7 @@ class Discussions(object):
discussion_query
[
"
before_date
"
]
=
"
1970-01-01T00:00:00
"
discussion_query
[
"
before_date
"
]
=
"
1970-01-01T00:00:00
"
while
(
query_count
<
limit
and
found_more_than_start_entry
):
while
(
query_count
<
limit
and
found_more_than_start_entry
):
rpc_query_count
=
0
rpc_query_count
=
0
dd
=
None
discussion_query
[
"
start_author
"
]
=
start_author
discussion_query
[
"
start_author
"
]
=
start_author
discussion_query
[
"
start_permlink
"
]
=
start_permlink
discussion_query
[
"
start_permlink
"
]
=
start_permlink
discussion_query
[
"
start_tag
"
]
=
start_tag
discussion_query
[
"
start_tag
"
]
=
start_tag
...
@@ -151,7 +152,8 @@ class Discussions(object):
...
@@ -151,7 +152,8 @@ class Discussions(object):
dd
=
Replies_by_last_update
(
discussion_query
,
steem_instance
=
self
.
steem
,
lazy
=
self
.
lazy
)
dd
=
Replies_by_last_update
(
discussion_query
,
steem_instance
=
self
.
steem
,
lazy
=
self
.
lazy
)
elif
discussion_type
==
"
tags
"
:
elif
discussion_type
==
"
tags
"
:
dd
=
Trending_tags
(
discussion_query
,
steem_instance
=
self
.
steem
,
lazy
=
self
.
lazy
)
dd
=
Trending_tags
(
discussion_query
,
steem_instance
=
self
.
steem
,
lazy
=
self
.
lazy
)
else
:
raise
ValueError
(
"
Wrong discussion_type
"
)
if
not
dd
:
if
not
dd
:
return
return
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment