Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix bug where exception crashes program #14

Merged
merged 1 commit into from
Jul 19, 2019
Merged

Fix bug where exception crashes program #14

merged 1 commit into from
Jul 19, 2019

Conversation

saltlakeryan
Copy link
Contributor

Exception causes crash:

Snippet from stack trace:

  File "/yterm/yTermPlayer/yTermPlayer/music_api.py", line 258, in get_time_details
    minutes = int(total_seconds / 60)
UnboundLocalError: local variable 'total_seconds' referenced before assignment

Exception causes crash:

Snippet from stack trace:
```
  File "/yterm/yTermPlayer/yTermPlayer/music_api.py", line 258, in get_time_details
    minutes = int(total_seconds / 60)
UnboundLocalError: local variable 'total_seconds' referenced before assignment
```
@vaibkumr vaibkumr merged commit f2e217b into vaibkumr:master Jul 19, 2019
@vaibkumr
Copy link
Owner

Thank you

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants