1
0
Fork 0
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:
Dragorn421 2022-04-29 21:15:00 +02:00 committed by GitHub
parent 4a6bfcdd21
commit 8ad90df27f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 8 additions and 24 deletions

View file

@ -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: