From a763239af7d6a780643414bee87d13e9a834eaa2 Mon Sep 17 00:00:00 2001 From: deathfantasy Date: Sun, 11 Oct 2015 21:59:18 +0700 Subject: [PATCH] fix migrate not accepting pid parameter --- pupy/modules/migrate.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pupy/modules/migrate.py b/pupy/modules/migrate.py index 01a22c68..12df04f3 100644 --- a/pupy/modules/migrate.py +++ b/pupy/modules/migrate.py @@ -36,7 +36,7 @@ class MigrateModule(PupyModule): pid=p.pid self.success("%s created with pid %s"%(args.create,pid)) else: - pid=args.pid[0] + pid=args.pid dllbuf=b"" isProcess64bits=False #TODO automatically fill ip/port