mirror of
https://github.com/RYGhub/royalnet.git
synced 2024-11-23 19:44:20 +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"
|
directory = "/var/www/html/rygimages/{}.png"
|
||||||
infile = open("/royal/bot/basiclogo.svg", "r")
|
infile = open("/royal/bot/basiclogo.svg", "r")
|
||||||
print(infile.read())
|
print(infile.read())
|
||||||
indata = infile.read().format(cmd[1]).encode()
|
indata = infile.read().format(cmd[1]).encode("utf-8")
|
||||||
print(indata.decode())
|
print(indata.decode("utf-8"))
|
||||||
infile.close()
|
infile.close()
|
||||||
try:
|
try:
|
||||||
outfile = open(directory.format(cmd[1]), "x")
|
outfile = open(directory.format(cmd[1]), "x")
|
||||||
|
|
Loading…
Reference in a new issue