This commit is contained in:
yumoqing 2022-04-07 15:02:41 +08:00
parent ed05d9c864
commit 8f903cc2cd

View File

@ -20,7 +20,8 @@ except:
pmp = None pmp = None
class ConfiguredServer: class ConfiguredServer:
def __init__(self,auth_klass=AuthAPI): def __init__(self,auth_klass=AuthAPI, workdir=None):
if workdir is None:
pp = ProgramPath() pp = ProgramPath()
self.natpmp_loop = True self.natpmp_loop = True
self.nat_heartbeat = False self.nat_heartbeat = False