mirror of
https://github.com/zeldaret/oot.git
synced 2025-07-03 22:44:30 +00:00
Do not require colorama, do not use it (#1205)
This commit is contained in:
parent
4a6bfcdd21
commit
8ad90df27f
4 changed files with 8 additions and 24 deletions
|
@ -1,8 +1,12 @@
|
|||
#!/usr/bin/env python3
|
||||
|
||||
import argparse, json, os, signal, time, colorama, multiprocessing
|
||||
import argparse
|
||||
import json
|
||||
import os
|
||||
import signal
|
||||
import time
|
||||
import multiprocessing
|
||||
|
||||
colorama.init()
|
||||
|
||||
EXTRACTED_ASSETS_NAMEFILE = ".extracted-assets.json"
|
||||
|
||||
|
@ -72,7 +76,7 @@ def processZAPDArgs(argsZ):
|
|||
badZAPDArg = False
|
||||
for z in argsZ:
|
||||
if z[0] == '-':
|
||||
print(f"{colorama.Fore.LIGHTRED_EX}error{colorama.Fore.RESET}: argument \"{z}\" starts with \"-\", which is not supported.", file=os.sys.stderr)
|
||||
print(f'error: argument "{z}" starts with "-", which is not supported.', file=os.sys.stderr)
|
||||
badZAPDArg = True
|
||||
|
||||
if badZAPDArg:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue