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

fixed time_stamp format

parent a690537c
No related branches found
No related tags found
1 merge request!22Feat-flatdb-for-blazerID's
......@@ -5,6 +5,7 @@ from __future__ import print_function
import os
import os.path
import errno
import sys
import time
import datetime
......@@ -58,9 +59,9 @@ def create_app(config_name):
print(tempString, file=sys.stdout)
try:
time_stamp = time.strftime("%Y%m%d-%H%M%S")
temp_path = "/var/www/ood/register/flask_user_reg"
time_stamp = time.strftime("%H%M%S-%d%m%Y")
temp_path = "/var/www/ood/register/flask_user_reg/app/flat_db"
complete_file_name = os.path.join(temp_path, time_stamp+".txt")
file = open(complete_file_name, "w")
file.write(fullname)
......
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