Skip to content
Snippets Groups Projects
Commit ca3307c2 authored by Steffen Vogel's avatar Steffen Vogel :santa_tone2:
Browse files

bug fixes

parent 57813f9a
No related branches found
No related tags found
No related merge requests found
...@@ -31,7 +31,7 @@ class Chisel(Process): ...@@ -31,7 +31,7 @@ class Chisel(Process):
self.connected = threading.Event() self.connected = threading.Event()
def process_line(self, line): def process_line(self, line):
if line.find(b'Connected'): if line.find(b'Connected') >= 0:
self.connected.set() self.connected.set()
@staticmethod @staticmethod
......
...@@ -4,6 +4,9 @@ import pathlib ...@@ -4,6 +4,9 @@ import pathlib
import argparse import argparse
import platform import platform
from jupyter_remote_spawn.util import str2bool
PLATFORM = platform.system().lower() PLATFORM = platform.system().lower()
MACHINE = platform.machine() MACHINE = platform.machine()
...@@ -34,12 +37,12 @@ def get_config(): ...@@ -34,12 +37,12 @@ def get_config():
parser = argparse.ArgumentParser('rwth-jupyter') parser = argparse.ArgumentParser('rwth-jupyter')
parser.add_argument('--rwth', '-r', default=is_rwth) parser.add_argument('--rwth', '-r', type=str2bool, default=is_rwth)
parser.add_argument('--token', '-t') parser.add_argument('--token', '-t')
parser.add_argument('--token-path', '-T', default=f'{HOME_PATH}/.jupyter/token') parser.add_argument('--token-path', '-T', default=f'{HOME_PATH}/.jupyter/token')
parser.add_argument('--mount', '-m', default=True) parser.add_argument('--mount', '-m', type=str2bool, default=True)
parser.add_argument('--mount-point', '-M', default=MOUNT_PATH) parser.add_argument('--mount-point', '-M', default=MOUNT_PATH)
parser.add_argument('--jupyterhub-url', '-J', default=JUPYTERHUB_URL) parser.add_argument('--jupyterhub-url', '-J', default=JUPYTERHUB_URL)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment