PortScanner
PortScanner copied to clipboard
Little code optimization.
Description
Type of change
Converted hardcoded path '../config.json' to os path. As their no longer need to worry if that directory path had a trailing slash or not. os.path.join will add it if it needs to.
Checklist:
-
[x] My code follows the style guidelines of this project
-
[x] I have performed a self-review of my own code
-
[x] My changes generate no new warnings
-
[x] I have added tests that prove my fix is effective or that my feature works
-
[x] I have added all the three reviewers: @vinitshahdeo, @kashish121 & @ishika1727
Thanks for opening this pull request! 🤗 Wishing you a great Hacktoberfest 2020 🙌 🎉 ⚡️ Are you looking for more beginner-friendly issues? Check out this repo.
📢 Spread the word about @vinitshahdeo/Hacktoberfest2020 repo across your social media channels to help get others involved! Give a shoutout to DEV
article. Retweet this.
Check out few other repos below 🚀
PS: Please add @vinitshahdeo / @kashish121 / @ishika1727 as a reviewer if you haven't added.
@vinitshahdeo, @Kashish121 & @ishika1727