mirror of https://github.com/dirtbags/moth.git
Allow for hidden files in puzzler
This commit is contained in:
parent
597748984b
commit
3c3c03775e
|
@ -62,6 +62,7 @@ for cat in os.listdir(opts.puzzles):
|
||||||
f.write('<ul>\n')
|
f.write('<ul>\n')
|
||||||
for fn, path in files:
|
for fn, path in files:
|
||||||
shutil.copy(path, outdir)
|
shutil.copy(path, outdir)
|
||||||
|
if not fn.startswith(','):
|
||||||
f.write('<li><a href="%s">%s</a></li>\n' % (fn, fn))
|
f.write('<li><a href="%s">%s</a></li>\n' % (fn, fn))
|
||||||
f.write('</ul>\n')
|
f.write('</ul>\n')
|
||||||
f.write('''
|
f.write('''
|
||||||
|
|
Before Width: | Height: | Size: 626 B After Width: | Height: | Size: 626 B |
|
@ -2,7 +2,7 @@ html,body {
|
||||||
height: 100%;
|
height: 100%;
|
||||||
min-height: 100%;
|
min-height: 100%;
|
||||||
background-color: #000000;
|
background-color: #000000;
|
||||||
background-image: url("binary.png");
|
background-image: url(",binary.png");
|
||||||
background-repeat: repeat-x repeat-y;
|
background-repeat: repeat-x repeat-y;
|
||||||
margin: 0;
|
margin: 0;
|
||||||
padding: 0;
|
padding: 0;
|
|
@ -10,7 +10,7 @@ print '''
|
||||||
<html>
|
<html>
|
||||||
<head>
|
<head>
|
||||||
<title>1</title>
|
<title>1</title>
|
||||||
<link rel="stylesheet" type="text/css" href="ctf.css" media="all" />
|
<link rel="stylesheet" type="text/css" href=",ctf.css" media="all" />
|
||||||
<!-- key = ktFfb8R1Bw -->
|
<!-- key = ktFfb8R1Bw -->
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
|
|
Loading…
Reference in New Issue