change default editor to micro
This commit is contained in:
parent
b0810a6042
commit
de43211243
2
bink.py
2
bink.py
@ -24,7 +24,7 @@ except FileExistsError:
|
|||||||
try:
|
try:
|
||||||
editor = os.environ["EDITOR"]
|
editor = os.environ["EDITOR"]
|
||||||
except KeyError:
|
except KeyError:
|
||||||
editor = "nano"
|
editor = "micro"
|
||||||
|
|
||||||
def create_post(body):
|
def create_post(body):
|
||||||
with open(f"{home}/{time_ns()}", "w", encoding="UTF-8") as f:
|
with open(f"{home}/{time_ns()}", "w", encoding="UTF-8") as f:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user