import time, os, sys

def getDate():
	return time.strftime("%X") +" "+ time.strftime("%x")

def errors_log(error):

	if(os.path.isfile("logs/errors.log")):
		with open("logs/errors.log", "r") as f:
			if error not in f.read():
				with open("logs/errors.log", "a") as f2:
					f2.write(getDate()+":"+error+"\n")
	else:
		with open("logs/errors.log", "a") as f:
			f.write(getDate()+":"+error+"\n")

4e4118c28d61b53b9cfe370332f718b9bf9e7aa2
<mask token>

<mask token>


def errors_log(error):
    if os.path.isfile('logs/errors.log'):
        with open('logs/errors.log', 'r') as f:
            if error not in f.read():
                with open('logs/errors.log', 'a') as f2:
                    f2.write(getDate() + ':' + error + '\n')
    else:
        with open('logs/errors.log', 'a') as f:
            f.write(getDate() + ':' + error + '\n')

<mask token>


def getDate():
    return time.strftime('%X') + ' ' + time.strftime('%x')


def errors_log(error):
    if os.path.isfile('logs/errors.log'):
        with open('logs/errors.log', 'r') as f:
            if error not in f.read():
                with open('logs/errors.log', 'a') as f2:
                    f2.write(getDate() + ':' + error + '\n')
    else:
        with open('logs/errors.log', 'a') as f:
            f.write(getDate() + ':' + error + '\n')

import time, os, sys


def getDate():
    return time.strftime('%X') + ' ' + time.strftime('%x')


def errors_log(error):
    if os.path.isfile('logs/errors.log'):
        with open('logs/errors.log', 'r') as f:
            if error not in f.read():
                with open('logs/errors.log', 'a') as f2:
                    f2.write(getDate() + ':' + error + '\n')
    else:
        with open('logs/errors.log', 'a') as f:
            f.write(getDate() + ':' + error + '\n')

import time, os, sys

def getDate():
	return time.strftime("%X") +" "+ time.strftime("%x")

def errors_log(error):

	if(os.path.isfile("logs/errors.log")):
		with open("logs/errors.log", "r") as f:
			if error not in f.read():
				with open("logs/errors.log", "a") as f2:
					f2.write(getDate()+":"+error+"\n")
	else:
		with open("logs/errors.log", "a") as f:
			f.write(getDate()+":"+error+"\n")
