Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
quocle
aloxide-template
Commits
378e9590
Commit
378e9590
authored
Jul 23, 2020
by
Quoc Le
Browse files
(fix) correct name
parent
d07d93e9
Changes
3
Hide whitespace changes
Inline
Side-by-side
icon_hello/get_poll.json
View file @
378e9590
...
...
@@ -5,7 +5,7 @@
"to"
:
"cxab3ce0c6a660ff82ba390ff6ea1ee0fe9befbe63"
,
"dataType"
:
"call"
,
"data"
:
{
"method"
:
"get
_
poll"
,
"method"
:
"getpoll"
,
"params"
:
{
"id"
:
"1"
}
...
...
icon_hello/get_vote.json
View file @
378e9590
...
...
@@ -5,7 +5,7 @@
"to"
:
"cxab3ce0c6a660ff82ba390ff6ea1ee0fe9befbe63"
,
"dataType"
:
"call"
,
"data"
:
{
"method"
:
"get
_
vote"
,
"method"
:
"getvote"
,
"params"
:
{
"id"
:
"1"
}
...
...
icon_hello/icon_hello.py
View file @
378e9590
...
...
@@ -7,8 +7,8 @@ class hello(IconScoreBase):
def
__init__
(
self
,
db
:
IconScoreDatabase
)
->
None
:
super
().
__init__
(
db
)
self
.
_poll_table
=
DictDB
(
'poll
id
'
,
db
,
value_type
=
str
)
self
.
_vote_table
=
DictDB
(
'vote
id
'
,
db
,
value_type
=
str
)
self
.
_poll_table
=
DictDB
(
'poll
tbl
'
,
db
,
value_type
=
str
)
self
.
_vote_table
=
DictDB
(
'vote
tbl
'
,
db
,
value_type
=
str
)
def
on_install
(
self
)
->
None
:
super
().
on_install
()
...
...
Write
Preview
Markdown
is supported
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