Skip to content
Snippets Groups Projects
Commit 29b8e095 authored by Ishan Patel's avatar Ishan Patel
Browse files

cleanup

parent d6c8a665
No related branches found
No related tags found
1 merge request!22Feat-flatdb-for-blazerID's
......@@ -61,11 +61,11 @@ def create_app(config_name):
time_stamp = time.strftime("%m/%d/%Y--%H:%M:%S")
directory = "/var/www/ood/register/flask_user_reg/app/flat_db"
complete_file_name = os.path.join(directory, time_stamp + ".txt")
if not os.path.exists(directory):
os.makedirs(directory)
complete_file_name = os.path.join(directory, time_stamp+".txt")
file = open(complete_file_name, "w")
file.write(fullname)
file.close()
......
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