Remove unused random_string method
This commit is contained in:
parent
0531f6c749
commit
a64f268344
1 changed files with 0 additions and 3 deletions
|
@ -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
|
||||||
|
|
Reference in a new issue