Skip to content

Commit

Permalink
fix __main__ issue on android
Browse files Browse the repository at this point in the history
  • Loading branch information
mbroedl committed Jan 24, 2019
1 parent de9a5d4 commit 8db9f09
Show file tree
Hide file tree
Showing 5 changed files with 15 additions and 5 deletions.
12 changes: 11 additions & 1 deletion RELEASE-NOTES.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,16 @@
# Release Notes

## 0.1.1 Initial Release (2018-11-30)
## 0.1.3 (2019-01-24)

Some versions of the android app did not start the main-function automatically. This is fixed now.
All tasks have been tested and shown to work.

## 0.1.2 (2018-12-24)

The ConfigParser class was replaced with a custom class as this was not available on the Android app.
Furthermore some bugs regarding python2/3 compatibility were fixed.

## 0.1.1 (2018-11-30)

Four tasks added:

Expand Down
2 changes: 1 addition & 1 deletion tasks/boilerplate/boilerplate.py
Original file line number Diff line number Diff line change
Expand Up @@ -112,5 +112,5 @@ def main():
Boilerplate.run()


if __name__ == '__main__':
if __name__ == '__main__' or android:
main()
2 changes: 1 addition & 1 deletion tasks/digitspan/digitspan.py
Original file line number Diff line number Diff line change
Expand Up @@ -225,5 +225,5 @@ def main():
DigitSpan.run()


if __name__ == '__main__':
if __name__ == '__main__' or android:
main()
2 changes: 1 addition & 1 deletion tasks/nback/nback.py
Original file line number Diff line number Diff line change
Expand Up @@ -380,7 +380,7 @@ def main():
NBack.run()


if __name__ == '__main__':
if __name__ == '__main__' or android:
main()


Expand Down
2 changes: 1 addition & 1 deletion tasks/trailmaking/trailmaking.py
Original file line number Diff line number Diff line change
Expand Up @@ -386,7 +386,7 @@ def main():
TrailMaking.run()


if __name__ == '__main__':
if __name__ == '__main__' or android:
main()


Expand Down

0 comments on commit 8db9f09

Please sign in to comment.