We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ad8d2fe commit bdb9ccbCopy full SHA for bdb9ccb
1 file changed
scripts/ipc.py
@@ -1,13 +1,18 @@
1
import sys
2
import logging
3
+import coloredlogs
4
from os import path
5
6
sys.path.append(path.dirname(path.dirname(path.abspath(__file__))))
7
from jupyddl.automated_planner import AutomatedPlanner
8
from jupyddl.node import Path
9
-if "ipc.py" in sys.argv:
10
- sys.argv.remove("ipc.py")
+coloredlogs.install(level="WARNING")
11
+
12
+for a in sys.argv:
13
+ if "ipc.py" in a:
14
+ sys.argv.remove(a)
15
+ break
16
17
if len(sys.argv) != 3:
18
logging.fatal("Binary should be ran with 3 arguments")
0 commit comments