mirror of
https://github.com/PluralKit/PluralKit.git
synced 2026-02-04 04:56:49 +00:00
test
This commit is contained in:
parent
4c16432224
commit
8e63c74ddd
1 changed files with 6 additions and 3 deletions
|
|
@ -58,11 +58,11 @@ def create_jobs():
|
||||||
|
|
||||||
pass
|
pass
|
||||||
|
|
||||||
if __name__ == "__main__":
|
def main():
|
||||||
print("hello from python!")
|
print("hello from python!")
|
||||||
subprocess.run(["docker", "run", "--rm", "-it", "hello-world"], check=True)
|
subprocess.run(["docker", "run", "--rm", "-it", "hello-world"], check=True)
|
||||||
|
|
||||||
return
|
return 0
|
||||||
if dispatch_data == "":
|
if dispatch_data == "":
|
||||||
return create_jobs()
|
return create_jobs()
|
||||||
|
|
||||||
|
|
@ -76,4 +76,7 @@ if __name__ == "__main__":
|
||||||
pass
|
pass
|
||||||
case _:
|
case _:
|
||||||
print (f"data unknown: {dispatch_data}")
|
print (f"data unknown: {dispatch_data}")
|
||||||
os.exit(1)
|
return 1
|
||||||
|
|
||||||
|
if __name__ == "__main__":
|
||||||
|
os.exit(main())
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue