Skip to content

Commit

Permalink
Get oscr install target working correctly again.
Browse files Browse the repository at this point in the history
  • Loading branch information
Kraust committed Feb 23, 2024
1 parent 1b73c28 commit cedf6ef
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion OSCRUI/textedit.py
Original file line number Diff line number Diff line change
Expand Up @@ -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}'
return f'{parts[0].replace("T", " ")}:{parts[1]}:{seconds:02d}'
4 changes: 2 additions & 2 deletions main.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

class Launcher():

version = '2024.2a230'
version = '2024.2a231'

# holds the style of the app
theme = {
Expand Down Expand Up @@ -538,4 +538,4 @@ def launch():


if __name__ == '__main__':
Launcher.launch()
Launcher.launch()
4 changes: 2 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down Expand Up @@ -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"
Expand Down

0 comments on commit cedf6ef

Please sign in to comment.