unauthorized_client will be created when needed
This commit is contained in:
parent
a7e79eb254
commit
0c73c51936
@ -27,6 +27,7 @@ parser.add_argument("--create-album", action="store_true")
|
|||||||
|
|
||||||
args = parser.parse_args()
|
args = parser.parse_args()
|
||||||
|
|
||||||
|
if args.create_user or args.create_album:
|
||||||
unauthorized_client = Client(
|
unauthorized_client = Client(
|
||||||
base_url=sync.config_get("address", "posting", "api"),
|
base_url=sync.config_get("address", "posting", "api"),
|
||||||
timeout=5.0,
|
timeout=5.0,
|
||||||
|
Reference in New Issue
Block a user