mirror of
https://github.com/Mikaela/Limnoria.git
synced 2025-01-11 12:42:34 +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:
|
||||
import profile
|
||||
profile.run('main()')
|
||||
profile.run('main()', '%s-%i.prof' % (nick, time.time())
|
||||
else:
|
||||
main()
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user