Skip to content

Commit 0ca4f14

Browse files
committedJan 18, 2015
Added suggestion of Kwpolska to use better natsorted arguments.
1 parent 83cb020 commit 0ca4f14

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎nikola/utils.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1242,7 +1242,7 @@ def write_metadata(data):
12421242
pass
12431243

12441244
# Leftover metadata (user-specified/non-default).
1245-
for k in natsort.natsorted(list(data.keys())):
1245+
for k in natsort.natsorted(list(data.keys()), alg=natsort.ns.F | natsort.ns.IC):
12461246
meta.append(f.format(k, data[k]))
12471247

12481248
meta.append('')

0 commit comments

Comments
 (0)