mirror of
https://github.com/simon987/sist2.git
synced 2025-12-10 22:18:54 +00:00
Fix flaky mime table generation
This commit is contained in:
@@ -71,7 +71,7 @@ with open("mime.csv") as f:
|
||||
print("#include <stdlib.h>\n")
|
||||
# Enum
|
||||
print("enum mime {")
|
||||
for mime, ext in mimes.items():
|
||||
for mime, ext in sorted(mimes.items()):
|
||||
print(" " + clean(mime) + "=" + mime_id(mime) + ",")
|
||||
print("};")
|
||||
|
||||
|
||||
Reference in New Issue
Block a user