move thread handling around

This commit is contained in:
dignifiedquire
2019-11-27 00:40:23 +01:00
parent 22a0e3fe9c
commit 34be965525
2 changed files with 132 additions and 47 deletions

View File

@@ -116,7 +116,7 @@ impl JobThread {
}
}
fn get_watch_folder(&self, context: &Context) -> Option<String> {
pub(crate) fn get_watch_folder(&self, context: &Context) -> Option<String> {
match context.sql.get_raw_config(context, self.folder_config_name) {
Some(name) => Some(name),
None => {