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

comments

parent 29ed9bb6
No related branches found
No related tags found
1 merge request!22Feat-flatdb-for-blazerID's
......@@ -58,8 +58,9 @@ def create_app(config_name):
print(tempString, file=sys.stdout)
try:
time_stamp = time.strftime("%m-%d-%Y--%H:%M:%S")
# function to write out a flatdb with the name of the file being a timestamp and the content
# of the file beieng blazerID the user submitted from the flask form (fullname)
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")
......
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