mirror of
https://github.com/joshuaboniface/rffmpeg.git
synced 2026-01-23 02:24:03 +00:00
Fix bug in insert variable name
This commit is contained in:
parent
a3d5e65590
commit
d2d136539f
1 changed files with 1 additions and 1 deletions
2
rffmpeg
2
rffmpeg
|
|
@ -745,7 +745,7 @@ def run_control(config):
|
|||
click.echo("Adding new host '{}' ({})".format(host, name))
|
||||
with dbconn(config) as cur:
|
||||
cur.execute(
|
||||
"INSERT INTO hosts (hostname, weight, servername) VALUES (?, ?, ?)", (hostname, weight, name)
|
||||
"INSERT INTO hosts (hostname, weight, servername) VALUES (?, ?, ?)", (host, weight, name)
|
||||
)
|
||||
|
||||
rffmpeg_click.add_command(rffmpeg_click_add)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue