Fix "RuntimeError: set_wakeup_fd" on Debian
This commit is contained in:
parent
e77bf0de5e
commit
4701fe80f7
|
@ -608,7 +608,9 @@ def discordClient(token):
|
|||
addGuiTask(gui,gui.updateConvs,(channels,))
|
||||
guiLock.release()
|
||||
|
||||
client.run(token,bot = False)
|
||||
loop.create_task(client.start(token,bot = False))
|
||||
loop.run_forever()
|
||||
#client.run(token,bot = False)
|
||||
|
||||
def main():
|
||||
global config
|
||||
|
@ -677,4 +679,4 @@ def main():
|
|||
time.sleep(0.033)
|
||||
|
||||
if __name__ == "__main__":
|
||||
main()
|
||||
main()
|
||||
|
|
Loading…
Reference in New Issue