Made sure profiling data is logged to a file.

This commit is contained in:
Jeremy Fincher 2003-10-08 19:10:06 +00:00
parent 18d52f8b27
commit 8eaf73abf3

View File

@ -210,7 +210,7 @@ if __name__ == '__main__':
if options.profile:
import profile
profile.run('main()')
profile.run('main()', '%s-%i.prof' % (nick, time.time())
else:
main()