Skip to content

Conversation

@MllwAlms
Copy link

@MllwAlms MllwAlms commented Feb 1, 2022

  • URL connection success notice
  • Replace input with argv
  • Automates license header update using uncurl and URL

- URL connection success notice
- Replace input with argv
- Automates license header update using uncurl and URL
@pythonkenyard
Copy link

pythonkenyard commented Feb 2, 2022

You should allow both options for situation where users dont know to add it as sys arg.

try:
MDP_URL = sys.argv[1]
lic_url = sys.argv[2]
except:
MDP_URL = input('\nInput MPD URL: ')
lic_url = input('License URL: ')

edit: comments dont allow indent formatting it seems

@MllwAlms
Copy link
Author

MllwAlms commented Feb 4, 2022

Added

You should allow both options for situation where users dont know to add it as sys arg.

try: MDP_URL = sys.argv[1] lic_url = sys.argv[2] except: MDP_URL = input('\nInput MPD URL: ') lic_url = input('License URL: ')

edit: comments dont allow indent formatting it seems

Added

Added option for user input. Doesn't force argv.
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.

2 participants