mirror of
https://github.com/RYGhub/royalnet.git
synced 2024-11-27 13:34:28 +00:00
boh!
This commit is contained in:
parent
1b1c88fd65
commit
95a85a9602
1 changed files with 2 additions and 2 deletions
4
bot.py
4
bot.py
|
@ -481,8 +481,8 @@ def getrygimage():
|
|||
directory = "/var/www/html/rygimages/{}.png"
|
||||
infile = open("/royal/bot/basiclogo.svg", "r")
|
||||
print(infile.read())
|
||||
indata = infile.read().format(cmd[1]).encode()
|
||||
print(indata.decode())
|
||||
indata = infile.read().format(cmd[1]).encode("utf-8")
|
||||
print(indata.decode("utf-8"))
|
||||
infile.close()
|
||||
try:
|
||||
outfile = open(directory.format(cmd[1]), "x")
|
||||
|
|
Loading…
Reference in a new issue