From cedf6ef84f58db6bedfdfc7f5a4953bfe2914d87 Mon Sep 17 00:00:00 2001 From: Kraust Date: Fri, 23 Feb 2024 17:47:32 -0500 Subject: [PATCH] Get oscr install target working correctly again. --- OSCRUI/textedit.py | 2 +- main.py | 4 ++-- pyproject.toml | 4 ++-- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/OSCRUI/textedit.py b/OSCRUI/textedit.py index 86d87f3..521f2c6 100644 --- a/OSCRUI/textedit.py +++ b/OSCRUI/textedit.py @@ -88,4 +88,4 @@ def format_datetime_str(datetime: str) -> str: """ parts = datetime[:-1].split(':') seconds = int(float(parts[-1])) - return f'{parts[0].replace('T', ' ')}:{parts[1]}:{seconds:02d}' \ No newline at end of file + return f'{parts[0].replace("T", " ")}:{parts[1]}:{seconds:02d}' diff --git a/main.py b/main.py index 4159030..007c002 100644 --- a/main.py +++ b/main.py @@ -5,7 +5,7 @@ class Launcher(): - version = '2024.2a230' + version = '2024.2a231' # holds the style of the app theme = { @@ -538,4 +538,4 @@ def launch(): if __name__ == '__main__': - Launcher.launch() \ No newline at end of file + Launcher.launch() diff --git a/pyproject.toml b/pyproject.toml index f667433..fcce795 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -8,7 +8,7 @@ dependencies = [ "PyQt6>=6.6.0", "pyqtgraph>=0.13.3", "numpy>=1.26.1", - "STO-OSCR>=2024.2b201", + "STO-OSCR>=2024.2b221", "OSCR-django-client>=2024.2b191", ] requires-python = ">=3.10" @@ -37,7 +37,7 @@ Repository = "https://github.com/STOCD/OSCR-UI.git" packages = ["."] [project.scripts] -oscr = "main:main" +oscr = "main:Launcher.launch" [tool.hatch.version] path = "main.py"