Skip to content

Commit

Permalink
Fixed new crossbar run syntax
Browse files Browse the repository at this point in the history
  • Loading branch information
MickVanDuijn committed Jun 13, 2018
1 parent bf7f3d2 commit 9d41042
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions __main__.py
Expand Up @@ -8,7 +8,7 @@
import json
import os

from crossbar.controller.cli import run
from crossbar import run
from twisted.internet import reactor
from twisted.python.logfile import DailyLogFile

Expand Down Expand Up @@ -68,15 +68,15 @@

print(ascii_brand)

run('crossbar', [
run([
'start',
'--cbdir',
'.',
'--config',
temp_config.name,
'--loglevel',
'info',
], reactor=reactor)
])
finally:
if temp_config:
os.remove(temp_config.name)
Expand Down

0 comments on commit 9d41042

Please sign in to comment.