diff --git a/modules/RemoteFile.py b/modules/RemoteFile.py index cb886c3f..41009d0a 100755 --- a/modules/RemoteFile.py +++ b/modules/RemoteFile.py @@ -110,6 +110,12 @@ def resolve(self) -> Path: return self.local_file.resolve() + def exists(self) -> bool: + """Wrapper for `Path.exists()` of the associated file.""" + + return self.local_file.exists() + + @retry(stop=stop_after_attempt(3), wait=wait_fixed(3)+wait_exponential(min=1, max=16)) def __get_remote_content(self) -> Response: diff --git a/modules/ref/version_webui b/modules/ref/version_webui index b024b9ab..007c0073 100755 --- a/modules/ref/version_webui +++ b/modules/ref/version_webui @@ -1 +1 @@ -v2.0-alpha.10.1-webui162 \ No newline at end of file +v2.0-alpha.10.1-webui163 \ No newline at end of file