29 lines
454 B
Python
29 lines
454 B
Python
from grpc.postProcessor import upload, remove
|
|
|
|
|
|
def serve():
|
|
pass
|
|
|
|
""" # for testing
|
|
def _serve():
|
|
print(IG.account_info())
|
|
|
|
pass
|
|
|
|
return
|
|
aid = 57
|
|
|
|
msg, err = upload(aid)
|
|
if err:
|
|
print(msg)
|
|
return
|
|
|
|
input("Press any key...")
|
|
|
|
DBHelper.solo_article_updater(id=aid, code=msg)
|
|
|
|
msg, err = remove(aid)
|
|
if err:
|
|
print(msg)
|
|
return
|
|
""" |