Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
9 changes: 2 additions & 7 deletions src/tui_tool/tabs/state.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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<PathBuf> {
Expand Down
Loading