예제 #1
0
			else:
				printing = 0
			if thisep >= curepno:
				break
		elif line[:6] == 'EPNAME':
			output.write('"' + epname + '."\n')
		elif printing:
			output.write(line)


	mtime = time.localtime(time.time())
	mtime_str = '%s %d, %d' % (months[mtime[1]], mtime[2], mtime[0])
	output.write("""<pre>

</pre>
""" + otros.pagefooter(curepno, 'background') + """

<h5>
Last update:
""" + mtime_str + """

</h5>
</body>
</html>
""")

	input.close()
	output.close()

	print epnum
예제 #2
0
            os.unlink('#' + epnum)
        except:
            pass
        os.rename(epnum, '#' + epnum)
        os.rename('@' + epnum, epnum)
    else:
        os.unlink('@' + epnum)

    if do_jpeg:
        final = otros.mungeimages(final, do_jpeg)
    output.write(final)

    if perdir.get_type() == 'credits':
        output.write("</pre>\n")

    output.write('<pre>\n\n</pre>\n' + otros.pagefooter(curep) + """

<h5>
<a href="/lurk/lastmod.html">Last update:</a>
""" + mtime_str + """

</h5>
</body>
</html>
""")

    output.close()

    if do_jpeg:
        print epnum, 'jpeg'
    else:
예제 #3
0
                    printing = 1
            else:
                printing = 0
            if thisep >= curepno:
                break
        elif line[:6] == 'EPNAME':
            output.write('"' + epname + '."\n')
        elif printing:
            output.write(line)

    mtime = time.localtime(time.time())
    mtime_str = '%s %d, %d' % (months[mtime[1]], mtime[2], mtime[0])
    output.write("""<pre>

</pre>
""" + otros.pagefooter(curepno, 'background') + """

<h5>
Last update:
""" + mtime_str + """

</h5>
</body>
</html>
""")

    input.close()
    output.close()

    print epnum
예제 #4
0
			os.unlink('#' + epnum)
		except:
			pass
		os.rename(epnum, '#' + epnum)
		os.rename('@' + epnum, epnum)
	else:
		os.unlink('@' + epnum)

	if do_jpeg:
		final = otros.mungeimages(final, do_jpeg)
	output.write(final)

	if perdir.get_type() == 'credits':
		output.write("</pre>\n")

	output.write('<pre>\n\n</pre>\n' + otros.pagefooter(curep) + """

<h5>
<a href="/lurk/lastmod.html">Last update:</a>
""" + mtime_str + """

</h5>
</body>
</html>
""")

	output.close()

	if do_jpeg:
		print epnum, 'jpeg'
	else: