projects
/
personal
/
aptbot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3472a02
)
fixed bug where disable account would crash the running instance
author
Georgios Atheridis
<atheridis@tutamail.com>
Wed, 1 Jun 2022 10:39:07 +0000
(13:39 +0300)
committer
Georgios Atheridis
<atheridis@tutamail.com>
Wed, 1 Jun 2022 10:39:07 +0000
(13:39 +0300)
aptbot/args_logic.py
patch
|
blob
|
history
diff --git
a/aptbot/args_logic.py
b/aptbot/args_logic.py
index 2bc5709392207bb716de7c295bc7a1b3b50d38e7..8d143a2f064e5634e88133d146893184a7ed8a2c 100644
(file)
--- a/
aptbot/args_logic.py
+++ b/
aptbot/args_logic.py
@@
-61,7
+61,7
@@
def disable_account(s: socket.socket, acc: str):
print(f"Account {acc} is already disabled.")
command = BotCommands.PART.value
- channel =
""
+ channel =
acc
msg = ""
try:
s.send(bytes(f"{command}==={channel}==={msg}", "utf-8"))