Skip to content
Snippets Groups Projects
Commit 0aa8e1ae authored by Mitchell Moore's avatar Mitchell Moore
Browse files

Remove unused functions

parent 548f7d05
No related branches found
No related tags found
No related merge requests found
......@@ -17,31 +17,6 @@ socketio = SocketIO(app)
global username_global
def messageReceived(methods=['GET', 'POST']):
print('message was received!!!')
def check_dir(user, interval):
# Todo: Make this mothod in a consumer
"""
:param user: (string) username to check for in DB.
:param interval: (int) Frequency to check in seconds.
:return: (boolean) if account has been registered.
"""
seconds = 0
while seconds < 600:
querystring = "_" + user + ".done"
for filename in os.listdir("flat_db/"):
if filename.endswith(querystring):
return True
time.sleep(interval)
seconds = seconds + interval
return False
def create_account(username, fullname, reason):
# Todo: Ravi's and Louis's code goes here
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment