facilitate the calling of member destructors so cleanup actually works! i hate python's gc this is actual trash when i delete an object the destructor isn't called this is insane if you're not writing "pythonic" codethe secret police comes in the night and takes your right to function awaymaster
parent
77464883b1
commit
9dc14f69b7
@ -1,9 +1,6 @@ |
||||
from client import client |
||||
from sys import argv, exit |
||||
|
||||
olive = None |
||||
if len(argv) < 2: |
||||
olive = client() # is this clean? who knows! |
||||
else: |
||||
olive = client(config_path = argv[1]) |
||||
olive.run() |
||||
path = None |
||||
with client(config_path = None if (len(argv) < 2) else argv[1]) as c: |
||||
c.run() |
||||
|
Loading…
Reference in new issue