-
Notifications
You must be signed in to change notification settings - Fork 143
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
Added vRY-Configurator #91
Conversation
tanishqmanuja
commented
Jul 12, 2022
- Used InquirerPy package
- Can be called using cmd using "vry.exe --configure" or "python main.py --configure" while development
otherwise LGTM, not tested |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Firstly, I ran vRY with no issue. Used the advanced config, applied the default value for PORT by simply hitting ENTER when prompted for a number; re-ran vRY to be greeted with the Firewall error message.
Will look into it today and update the PR. |
Works fine for me now .. has anyone tested after recent commit? |
What about my review? |
Fixed that problem.. its was due to string instead of int in port. |
@OwOHamper, Have you made your review public.. only one review is showing here. |
Your review wasn't published ig.. cannot see it still on GitHub but image will do. Will push new commit for the suggestions |
You got any idea how I can publish it? lol |
Same thing happened with decrypt so he can help . I never reviewed any PR myself so i cant help :( |
it would still break you would need to create double if statement because it would check both values and if sys.argv[1] is undefined the first condition would be False but second one would still be checked. And also in the bare except you should print what exactly went wrong or initialize logs before it and log it. If there was some error we wouldn't have idea what it is |
AFAIK and operator is short-circuited in python and javascript that means second condition is only evaluated if first is true so double if is not required. I have tested calling main.py with and without arguments and both cases have worked. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Handling the input of no
for proceed
under src/configuator.py
would lead to a better UX since it currently throws an error.