diff --git a/Cargo.lock b/Cargo.lock index aaf5459..1f9c823 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -2390,7 +2390,7 @@ dependencies = [ [[package]] name = "rex" -version = "1.1.1" +version = "1.1.2" dependencies = [ "async-trait", "axum", diff --git a/Cargo.toml b/Cargo.toml index 2500e01..cda5a1d 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -2,7 +2,7 @@ name = "rex" edition = "2021" -version = "1.1.1" +version = "1.1.2" description = "Command line tool for automating data collection" license = "GPL-3.0-or-later" repository = "https://github.com/JaminMartin/rex" diff --git a/pyproject.toml b/pyproject.toml index dc4f3ad..ad5858d 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -5,7 +5,7 @@ build-backend = "maturin" [project] name = "rex-pycli" -version = "1.1.1" +version = "1.1.2" description = "Rex CLI" requires-python = ">=3.13" readme = "README.md" diff --git a/src/tui_tool/tabs/state.rs b/src/tui_tool/tabs/state.rs index 1bce3cd..2496a85 100644 --- a/src/tui_tool/tabs/state.rs +++ b/src/tui_tool/tabs/state.rs @@ -830,13 +830,8 @@ impl StateTab { } pub fn can_rerun(&self) -> bool { let has_config = self.session_info.is_some() && !self.device_configs.is_empty(); - // WIP will eventually be token based for running remote python scripts but allow for local search of allowed scritps - if self.remote { - has_config && self.server_script_path.is_some() - } else { - let has_script = self.loaded_script_path.is_some() || self.server_script_path.is_some(); - has_config && has_script - } + let has_script = self.loaded_script_path.is_some() || self.server_script_path.is_some(); + has_config && has_script } fn get_script_path(&self) -> Option {