diff --git a/mkdirindex.py b/mkdirindex.py index 78b7374..4cb49bb 100755 --- a/mkdirindex.py +++ b/mkdirindex.py @@ -3,9 +3,9 @@ import sys, re, os, glob filedir = "/home/wn/www/i21k.de/files/" -indexname = "index.html" -indexmd = "index.md" +indexfilename = "index.html" headline = "Files" +dirindexfile = open(filedir + indexfilename, "w") head1 = ( @@ -21,13 +21,13 @@ head2 = "
" body1 = 'Back