jhj0517 commited on
Commit
c595700
1 Parent(s): 3762ed3
Files changed (1) hide show
  1. app.py +4 -2
app.py CHANGED
@@ -211,8 +211,10 @@ class App:
211
  server_name=self.args.server_name,
212
  server_port=self.args.server_port,
213
  root_path=self.args.root_path,
214
- username=self.args.username,
215
- password=self.args.password
 
 
216
  )
217
 
218
 
 
211
  server_name=self.args.server_name,
212
  server_port=self.args.server_port,
213
  root_path=self.args.root_path,
214
+ auth={
215
+ "username": self.args.username,
216
+ "password": self.args.password
217
+ } if self.args.username and self.args.password else None
218
  )
219
 
220