change filename and permissions
This commit is contained in:
parent
6f236ce1c3
commit
f89a3d8601
4
bink.py → bink
Normal file → Executable file
4
bink.py → bink
Normal file → Executable file
@ -1,4 +1,4 @@
|
|||||||
# {"title": "this is a test", "body": "this is text"},
|
#!/bin/python3
|
||||||
|
|
||||||
import json
|
import json
|
||||||
from glob import glob
|
from glob import glob
|
||||||
@ -51,5 +51,3 @@ def create_post(title, body):
|
|||||||
}
|
}
|
||||||
with open(f"{home}/{time_ns()}", "w") as f:
|
with open(f"{home}/{time_ns()}", "w") as f:
|
||||||
json.dump(thread, f, indent=2)
|
json.dump(thread, f, indent=2)
|
||||||
|
|
||||||
print(generate_feed())
|
|
Loading…
x
Reference in New Issue
Block a user