-
Notifications
You must be signed in to change notification settings - Fork 7
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
Updated commands and added module for colorful printable output. #72
Conversation
67d390e
to
c59a45b
Compare
except sqlite3.IntegrityError: | ||
print( | ||
colored("Already exists with the same name. Try with another Portal_name", "green") | ||
) |
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.
💯
self.email = email | ||
self.portal_name = portal_name | ||
self.portal_url = portal_url | ||
self.cursor_obj.execute( |
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.
@mayurilahane Why do we need variable initialization inside the try block?
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.
yes, agree!
we can do this try where we are actually getting values.
thanks for suggesting!
Any updates on this PR @mayurilahane ? |
c59a45b
to
aae5173
Compare
Updated commands and added module for colorful printable output.
please have a look @ganeshhubale @Yadnyawalkya