mirror of
https://github.com/scottlamb/moonfire-nvr.git
synced 2024-12-26 15:15:56 -05:00
fix swapped record on 6->7 upgrade
This commit is contained in:
parent
08cef6e790
commit
7b86db3c03
@ -314,9 +314,9 @@ fn copy_streams(tx: &rusqlite::Transaction) -> Result<(), Error> {
|
||||
let cum_runs: i64 = row.get(10)?;
|
||||
let config = crate::json::StreamConfig {
|
||||
mode: (if record {
|
||||
""
|
||||
} else {
|
||||
crate::json::STREAM_MODE_RECORD
|
||||
} else {
|
||||
""
|
||||
})
|
||||
.to_owned(),
|
||||
url: Some(Url::parse(&rtsp_url)?),
|
||||
|
Loading…
Reference in New Issue
Block a user