mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-11-23 19:19:32 +01:00
One line fix that's been in my code for awhile but not committed.
This commit is contained in:
parent
7a281d5e4b
commit
51ab17ad98
@ -181,6 +181,7 @@ if __name__ == '__main__':
|
|||||||
import sys
|
import sys
|
||||||
if '-p' in sys.argv:
|
if '-p' in sys.argv:
|
||||||
import profile, time
|
import profile, time
|
||||||
|
sys.argv.remove('-p')
|
||||||
profile.run('main()', '%i.prof' % time.time())
|
profile.run('main()', '%i.prof' % time.time())
|
||||||
if '-O' in sys.argv:
|
if '-O' in sys.argv:
|
||||||
import psyco
|
import psyco
|
||||||
|
Loading…
Reference in New Issue
Block a user