🔧 fix error
This commit is contained in:
parent
fb1ec8ceca
commit
7fd7f53d96
|
@ -152,7 +152,7 @@ fn main() {
|
||||||
old_state = new_state;
|
old_state = new_state;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
thread::sleep(Duration::from_millis(sleep));
|
thread::sleep(Duration::from_millis(sleep.parse::<u64>().unwrap_or(0)));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue