Selaa lähdekoodia

add self attr

ming 3 vuotta sitten
vanhempi
commit
da3dafdcfa
1 muutettua tiedostoa jossa 2 lisäystä ja 2 poistoa
  1. 2 2
      OpenshotService/openshot_video_generator.py

+ 2 - 2
OpenshotService/openshot_video_generator.py

@@ -404,9 +404,9 @@ def anchor_video_v2(name_hash,name,text_content, image_urls,avatar,client_id):
     #line notifs
 
 class video_service(rpyc.Service):
-    def call_video(name_hash,name,text_content, image_urls,avatar,client_id):
+    def call_video(self,name_hash,name,text_content, image_urls,avatar,client_id):
         anchor_video_v2(name_hash,name,text_content, image_urls,avatar,client_id)
-    def call():
+    def call(self):
         print('go')