Changing logging prefixes.

Adding beautifulsoup4 to requirements.
pull/1/head
Ayush Sharma 4 years ago
parent afe91e769a
commit 037c6140dd
  1. 8
      helpers.py
  2. 2
      requirements.txt

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

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

Loading…
Cancel
Save