Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Hiro
GetTor
Commits
8a91be77
Commit
8a91be77
authored
Oct 15, 2019
by
Hiro
🏄
Browse files
Fix json typo
parent
74fbbc77
Changes
1
Hide whitespace changes
Inline
Side-by-side
gettor/services/twitter/twitterdm.py
View file @
8a91be77
...
...
@@ -128,7 +128,7 @@ class Twitterdm(object):
log
.
info
(
"Got new help request."
)
for
request
in
help_requests
:
ids
=
json
.
loads
(
"{}"
.
format
(
request
[
0
]))
ids
=
json
.
loads
(
"{}"
.
format
(
request
[
0
]
.
replace
(
"'"
,
'"'
)
))
message_id
=
ids
[
'id'
]
twitter_id
=
ids
[
'twitter_handle'
]
date
=
request
[
5
]
...
...
@@ -163,7 +163,7 @@ class Twitterdm(object):
log
.
info
(
"Got new links request."
)
for
request
in
link_requests
:
ids
=
json
.
loads
(
"{}"
.
format
(
request
[
0
]))
ids
=
json
.
loads
(
"{}"
.
format
(
request
[
0
]
.
replace
(
"'"
,
'"'
)
))
message_id
=
ids
[
'id'
]
twitter_id
=
ids
[
'twitter_handle'
]
date
=
request
[
5
]
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment