Skip to content

Commit 6b4a238

Browse files
authored
Update main.py
1 parent 8d5bd4c commit 6b4a238

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

main.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ def main(self): # The main function contains the most important code
2424
os.system('cls' if os.name == 'nt' else 'clear') # Clear the screen
2525
if os.name == "nt": # If the system is windows
2626
print("")
27-
ctypes.windll.kernel32.SetConsoleTitleA("Nitro Generator and Checker - Made by Drillenissen#4268") # Change the
27+
ctypes.windll.kernel32.SetConsoleTitleW("Nitro Generator and Checker - Made by Drillenissen#4268") # Change the
2828
else: # Or if it is unix
2929
print(f'\33]0;Nitro Generator and Checker - Made by Drillenissen#4268\a', end='', flush=True) # Update title of command prompt
3030

@@ -70,7 +70,7 @@ def main(self): # The main function contains the most important code
7070
print(f" Error | {url} ") # Tell the user an error occurred
7171

7272
if os.name == "nt": # If the system is windows
73-
ctypes.windll.kernel32.SetConsoleTitleA(f"Nitro Generator and Checker - {len(valid)} Valid | {invalid} Invalid - Made by Drillenissen#4268") # Change the title
73+
ctypes.windll.kernel32.SetConsoleTitleW(f"Nitro Generator and Checker - {len(valid)} Valid | {invalid} Invalid - Made by Drillenissen#4268") # Change the title
7474
print("")
7575
else: # If it is a unix system
7676
print(f'\33]0;Nitro Generator and Checker - {len(valid)} Valid | {invalid} Invalid - Made by Drillenissen#4268\a', end='', flush=True) # Change the title

0 commit comments

Comments
 (0)