mirror of
https://github.com/Mikaela/Limnoria.git
synced 2025-12-07 02:37:26 +01:00
Made sure profiling data is logged to a file.
This commit is contained in:
parent
18d52f8b27
commit
8eaf73abf3
@ -210,7 +210,7 @@ if __name__ == '__main__':
|
|||||||
|
|
||||||
if options.profile:
|
if options.profile:
|
||||||
import profile
|
import profile
|
||||||
profile.run('main()')
|
profile.run('main()', '%s-%i.prof' % (nick, time.time())
|
||||||
else:
|
else:
|
||||||
main()
|
main()
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user