mirror of
https://github.com/netinvent/npbackup.git
synced 2025-10-26 21:36:30 +08:00
Fix port variable not initialized
This commit is contained in:
parent
d4c7e8229c
commit
e1834f8ef8
1 changed files with 1 additions and 1 deletions
|
|
@ -58,7 +58,7 @@ if __name__ == "__main__":
|
|||
try:
|
||||
port = config_dict["http_server"]["port"]
|
||||
except (TypeError, KeyError):
|
||||
listen = None
|
||||
port = None
|
||||
|
||||
if _DEV:
|
||||
import uvicorn
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue