1. Matthew Schinckel
  2. silverlining

Commits

Ian Bicking  committed 92047f5

fix silver serve --config option

  • Participants
  • Parent commits 41d33ef
  • Branches default

Comments (0)

Files changed (1)

File silverlining/commands/serve.py

View file
  • Ignore whitespace
     environ['SILVER_PASTE_LOCATION'] = httpserver.__file__
     environ['SILVER_SERVE_HOST'] = config.args.host
     environ['SILVER_SERVE_PORT'] = config.args.port
-    if config.config:
-        environ['SILVER_APP_CONFIG'] = os.path.abspath(config.config)
+    if config.args.config:
+        environ['SILVER_APP_CONFIG'] = os.path.abspath(config.args.config)
     proc = None
     try:
         try: