Skip to content

Commit 189991e

Browse files
committed
- Fix syntax error with slider range if else statements
- Update gitignore to avoid saving setting.json
1 parent 7c87ed8 commit 189991e

File tree

4 files changed

+15
-32
lines changed

4 files changed

+15
-32
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -186,3 +186,4 @@ cython_debug/
186186

187187
# PyPI configuration file
188188
.pypirc
189+
settings.json

To Run - cmds

Lines changed: 13 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,21 @@
1+
12
Install dependencies: pip install PyQt5 pygame
23

3-
Rebuild spec:
4-
pyinstaller workout_timer.spec
4+
----------------------------------------------
55

66
Run from src directory:
77
cd src
88
python main.py
99

1010
Or run from root directory:
11-
python -m src.main
11+
python -m src.main
12+
13+
----------------------------------------------
14+
15+
Remove file from git source control:
16+
git rm --cached filename12345.filetype
17+
18+
----------------------------------------------
19+
20+
Rebuild exe to dist directory:
21+
pyinstaller workout_timer.spec

settings.json

Lines changed: 0 additions & 28 deletions
This file was deleted.

src/app.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,7 @@ def initUI(self):
127127
2 if attr=="workout_duration" else
128128
2 if attr=="rest_duration" else
129129
1 if attr=="rounds" else
130-
0 if attr=="lead_up_duration" else
130+
0 if attr=="lead_up_duration"
131131
else 0
132132
)
133133
maxv = (

0 commit comments

Comments
 (0)