def _send_missing_json(self) -> None:
with DbConn() as conn:
- missing = [f.digest.b64 for f in VideoFile.get_all(conn)
+ missing = [f.digest.b64 for
+ f in VideoFile.get_all_non_deleted(conn)
if f.missing]
self._send_json(missing)
shared: Any
) -> None:
"""Run sync_func on arg pairs + shared, and again with pairs switched."""
- host_names = 'local', 'remote'
+ host_names = 'remote', 'local'
sync_func(host_names, dbs, shared)
sync_func(*(tuple(reversed(list(t))) for t in (host_names, dbs)), shared)