Changing logging prefixes.

Adding beautifulsoup4 to requirements.
pull/1/head
Ayush Sharma 2018-09-22 13:24:29 +05:30
parent afe91e769a
commit 037c6140dd
2 changed files with 3 additions and 7 deletions

View File

@ -47,9 +47,7 @@ def _info(message):
message {string} -- Log message. message {string} -- Log message.
""" """
timestamp = '{:%Y-%m-%d %H:%M:%S}'.format(datetime.datetime.now()) print(' _info > ' + message)
print(_config('gen.APP_NAME') + ' | ' + timestamp + ' _info > ' + message)
def _error(message): def _error(message):
@ -59,6 +57,4 @@ def _error(message):
message {string} -- Log message. message {string} -- Log message.
""" """
timestamp = '{:%Y-%m-%d %H:%M:%S}'.format(datetime.datetime.now()) print(' _error > ' + message)
print(_config('gen.APP_NAME') + ' | ' + timestamp + ' error > ' + message)

View File

@ -1,2 +1,2 @@
requests requests
beautifulsoup4 beautifulsoup4