mirror of
https://github.com/sun-guannan/CapCutAPI.git
synced 2025-11-25 03:15:00 +08:00
fix bug
This commit is contained in:
2
util.py
2
util.py
@@ -6,7 +6,7 @@ import os
|
|||||||
import hashlib
|
import hashlib
|
||||||
import functools
|
import functools
|
||||||
import time
|
import time
|
||||||
from settings.local import DRAFT_DOMAIN, PREVIEW_ROUTER
|
from settings.local import DRAFT_DOMAIN, PREVIEW_ROUTER, IS_CAPCUT_ENV
|
||||||
|
|
||||||
def hex_to_rgb(hex_color: str) -> tuple:
|
def hex_to_rgb(hex_color: str) -> tuple:
|
||||||
"""Convert hexadecimal color code to RGB tuple (range 0.0-1.0)"""
|
"""Convert hexadecimal color code to RGB tuple (range 0.0-1.0)"""
|
||||||
|
|||||||
Reference in New Issue
Block a user