parent
afe91e769a
commit
037c6140dd
|
@ -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)
|
|
||||||
|
|
|
@ -1,2 +1,2 @@
|
||||||
requests
|
requests
|
||||||
beautifulsoup4
|
beautifulsoup4
|
||||||
|
|
Loading…
Reference in New Issue