mirror of
https://github.com/RYGhub/royalnet.git
synced 2024-11-23 19:44:20 +00:00
c
This commit is contained in:
parent
249b61966c
commit
36299c645d
1 changed files with 2 additions and 1 deletions
3
bot.py
3
bot.py
|
@ -476,8 +476,9 @@ def getrygimage():
|
|||
if len(cmd[1]) > 2:
|
||||
telegram.sendmessage("Puoi mettere solo due lettere.")
|
||||
else:
|
||||
# FIXME: percorsi assoluti
|
||||
directory = "/var/www/html/rygimages/{}.png"
|
||||
infile = open("basiclogo.svg", "r")
|
||||
infile = open("/royal/bot/basiclogo.svg", "r")
|
||||
indata = infile.read().format(cmd[1]).encode()
|
||||
infile.close()
|
||||
try:
|
||||
|
|
Loading…
Reference in a new issue