소스 검색

filter out non-string args

David 10 년 전
부모
커밋
46a7977465
1개의 변경된 파일1개의 추가작업 그리고 0개의 파일을 삭제
  1. 1 0
      pmanager/pmanager.py

+ 1 - 0
pmanager/pmanager.py

@@ -142,6 +142,7 @@ class PManager:
         log("Launching! key: %s, opts: %s" % (key, options))
         tolaunch = self.ptable[key]
         if options is not None:
+            options = [ o for o in options if type(o) is str ]
             tolaunch = tolaunch + options
     
         log(tolaunch)