Browse Source

[routers] correct the app value in routers

Maxime Alves LIRMM@home 4 years ago
parent
commit
00d75e6e41
3 changed files with 3 additions and 3 deletions
  1. 1
    1
      pyheatpump/variable_types.py
  2. 1
    1
      pyheatpump/variable_values.py
  3. 1
    1
      pyheatpump/variables.py

+ 1
- 1
pyheatpump/variable_types.py View File

@@ -49,6 +49,6 @@ ROUTES=[
49 49
 app = Router(routes=ROUTES)
50 50
 
51 51
 if __name__ == '__main__':
52
-    uvicorn.run('pyHeatpump:conf.app',
52
+    uvicorn.run('pyHeatpump:variable_types.app',
53 53
         host='127.0.0.1',
54 54
         port=8000)

+ 1
- 1
pyheatpump/variable_values.py View File

@@ -81,6 +81,6 @@ ROUTES=[
81 81
 app = Router(routes=ROUTES)
82 82
 
83 83
 if __name__ == '__main__':
84
-    uvicorn.run('pyHeatpump:conf.app',
84
+    uvicorn.run('pyHeatpump:variable_values.app',
85 85
         host='127.0.0.1',
86 86
         port=8000)

+ 1
- 1
pyheatpump/variables.py View File

@@ -56,6 +56,6 @@ ROUTES=[
56 56
 app = Router(routes=ROUTES)
57 57
 
58 58
 if __name__ == '__main__':
59
-    uvicorn.run('pyHeatpump:conf.app',
59
+    uvicorn.run('pyHeatpump:variables.app',
60 60
         host='127.0.0.1',
61 61
         port=8000)

Loading…
Cancel
Save