mirror of
https://github.com/joshuaboniface/rffmpeg.git
synced 2026-01-23 02:24:03 +00:00
forgot add command
This commit is contained in:
parent
8e487abbb4
commit
db59781fdd
1 changed files with 2 additions and 2 deletions
4
rffmpeg
4
rffmpeg
|
|
@ -818,8 +818,8 @@ def run_control(config):
|
|||
click.echo(f"Adding new host '{host}' ({name})")
|
||||
with dbconn(config) as cur:
|
||||
cur.execute(
|
||||
f"INSERT INTO hosts (hostname, weight, servername) VALUES ({SQL_VAR_SIGN}, {SQL_VAR_SIGN}, {SQL_VAR_SIGN}, {SQL_VAR_SIGN})",
|
||||
(host, weight, name, created),
|
||||
f"INSERT INTO hosts (servername, hostname, weight, created) VALUES ({SQL_VAR_SIGN}, {SQL_VAR_SIGN}, {SQL_VAR_SIGN}, {SQL_VAR_SIGN})",
|
||||
(name, host, weight, created),
|
||||
)
|
||||
|
||||
rffmpeg_click.add_command(rffmpeg_click_add)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue