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

--history_to_use doesn't work with integer values #21

Open
dw-sun opened this issue Sep 18, 2020 · 1 comment
Open

--history_to_use doesn't work with integer values #21

dw-sun opened this issue Sep 18, 2020 · 1 comment

Comments

@dw-sun
Copy link

dw-sun commented Sep 18, 2020

When i use the integer(for example 100) as value for for --history_to_use, error happens.

File "C:\Users\hello\Repo\eiten\argchecker.py", line 8, in __init__
    self.check_arguments(args)
  File "C:\Users\hello\Repo\eiten\argchecker.py", line 20, in check_arguments
    assert not(args.history_to_use != "all" and int(args.history_to_use_int) <
AttributeError: 'Namespace' object has no attribute 'history_to_use_int'

args.history_to_use_int should be the reason, there isn't history_to_use_int argument parameter

@tradytics
Copy link
Owner

Shoot, do you wanna take a pass at fixing this and submit a PR? If not, I'll fix it over the weekend and let you know.

This was caused by a new PR recently. My apologies.

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