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

type check of variables #2

Open
Andrwe opened this issue Aug 29, 2012 · 1 comment
Open

type check of variables #2

Andrwe opened this issue Aug 29, 2012 · 1 comment
Assignees
Milestone

Comments

@Andrwe
Copy link

Andrwe commented Aug 29, 2012

Hi,

if you give a string for -a or -v an exception is thrown:

./n900-encode.py -i /data/bla.mpeg -f -a "asd"
Traceback (most recent call last):
File "./n900-encode.py", line 318, in
main(sys.argv[1:])
File "./n900-encode.py", line 73, in main
abitrate = int(arg) * 1000
ValueError: invalid literal for int() with base 10: 'asd'

Kind regards,
Andrwe

@ghost ghost assigned seiichiro0185 Sep 3, 2012
@seiichiro0185
Copy link
Owner

A fix for this is now merged into the develop-branch and will be part of the next release 1.2.2 ( commit 50bb00b)

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

No branches or pull requests

2 participants