Skip to content
This repository was archived by the owner on Sep 17, 2024. It is now read-only.

Commit fa4c5cb

Browse files
committed
what is wrong with python
1 parent 1a226bc commit fa4c5cb

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

installer.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ def status(code):
7575
token = getpass.getpass(prompt='Token: ')
7676

7777
installing = False
78-
data = {'owner': owner}
78+
data = {}
7979

8080
bot = commands.Bot(command_prefix='u!',intents=discord.Intents.all())
8181

@@ -813,6 +813,7 @@ def check(interaction):
813813
status(os.system('cp "' + os.getcwd() + '/install/utils/'+file + '" "' + os.getcwd() + '/utils/'+file+'"'))
814814
with open('config.json', 'r') as file:
815815
cfg = json.load(file)
816+
data.update({'owner': owner})
816817
cfg.update(data)
817818
with open('config.json', 'w') as file:
818819
json.dump(cfg, file, indent=4)

0 commit comments

Comments
 (0)