fix the first initial serial number generation problem

This commit is contained in:
sepehr 2024-07-24 19:44:22 +03:30
parent 9c847758cf
commit 4d88475e7e
2 changed files with 8 additions and 2 deletions

File diff suppressed because one or more lines are too long

View file

@ -28,6 +28,7 @@ def set_get_install_date():
if not install_date:
install_date=datetime.datetime.now()
db_sysconfig.set_sysconfig('install_date',install_date.strftime("%Y-%m-%d %H:%M:%S"))
install_date=install_date.strftime("%Y-%m-%d %H:%M:%S")
return install_date