Remove unused random_string method

This commit is contained in:
Joseph Schorr 2017-07-20 11:12:17 -04:00
parent 0531f6c749
commit a64f268344

View file

@ -98,9 +98,6 @@ def common_login(db_user, permanent_session=True):
logger.debug('User could not be logged in, inactive?.') logger.debug('User could not be logged in, inactive?.')
return False return False
def random_string():
random = SystemRandom()
return ''.join([random.choice(string.ascii_uppercase + string.digits) for _ in range(8)])
def list_files(path, extension): def list_files(path, extension):
import os import os