소스 검색

add save src face

ming 3 년 전
부모
커밋
1cb6a7d2c1
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      api/main.py

+ 1 - 1
api/main.py

@@ -181,7 +181,7 @@ def gen_avatar(name_hash, imgurl):
     c = rpyc.connect("localhost", 8868)
     c._config['sync_request_timeout'] = None
     remote_svc = c.root
-    my_answer = remote_svc.call_avatar(name_hash,imgurl) # method call
+    my_answer = remote_svc.call_avatar(name_hash) # method call
 
     im = Image.open(requests.get(imgurl, stream=True).raw)
     im= im.convert("RGB")