updated generated file comment

This commit is contained in:
Farook 2020-10-04 19:17:58 +03:00
parent 7e812ea58a
commit 24c04c65cf
2 changed files with 2 additions and 2 deletions

View File

@ -1,4 +1,4 @@
//This file is generated from /etc/nginx/mime.types using nginx_mime2cpp.py
//This file is generated from nginx/conf/mime.types using nginx_mime2cpp.py
#include <map>
#include <string>

View File

@ -1,7 +1,7 @@
def main():
mtfile = open("mime.types", "r")
mtcppfile = open("mime_types.h", "w")
mtcppfile.write("//This file is generated from /etc/nginx/mime.types using nginx_mime2cpp.py\n")
mtcppfile.write("//This file is generated from nginx/conf/mime.types using nginx_mime2cpp.py\n")
mtcppfile.write("#include <map>\n#include <string>\n\nnamespace crow{\nstd::map<std::string, std::string> mime_types {\n")
lines = mtfile.readlines()
i=0