🔧 fix error

This commit is contained in:
e3b 2019-08-17 02:07:30 +02:00
parent fb1ec8ceca
commit 7fd7f53d96
1 changed files with 1 additions and 1 deletions

View File

@ -152,7 +152,7 @@ fn main() {
old_state = new_state;
}
}
thread::sleep(Duration::from_millis(sleep));
thread::sleep(Duration::from_millis(sleep.parse::<u64>().unwrap_or(0)));
}
}