mirror of
https://github.com/RYGhub/royalnet.git
synced 2024-11-23 19:44:20 +00:00
Annullata una modifica che bloccava il diario.
This commit is contained in:
parent
925828dfb1
commit
1ae5a2d774
1 changed files with 1 additions and 1 deletions
2
bot.py
2
bot.py
|
@ -399,7 +399,7 @@ def diario():
|
|||
cmd = text.split(" ", 1)
|
||||
if len(cmd) > 1:
|
||||
if cmd[1].isprintable():
|
||||
cmd[1] = cmd[1].replace("\n", " ").encode("unicode_escape")
|
||||
cmd[1] = cmd[1].replace("\n", " ")
|
||||
fdiario = filemanager.readfile("diario.txt")
|
||||
fdiario += str(int(time.time())) + "|" + cmd[1] + "\n"
|
||||
filemanager.writefile("diario.txt", fdiario)
|
||||
|
|
Loading…
Reference in a new issue