Spaces:
Sleeping
Sleeping
File size: 581 Bytes
d334531 ca4eb6d d334531 34cff26 d334531 b8a26bd |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 |
import os
from platform import system
from Powers import LOGGER
from Powers.bot_class import Gojo
if __name__ == "__main__":
if system() == "Windows":
LOGGER.info("Windows system detected thus not installing uvloop")
else:
LOGGER.info("Attempting to install uvloop")
try:
os.system("pip3 install uvloop")
import uvloop
uvloop.install()
LOGGER.info("Installed uvloop continuing the process")
except:
LOGGER.info("Failed to install uvloop continuing the process")
Gojo().run()
|