From ee60e6c075e96f3aa86c175cccbce2ebd67326d5 Mon Sep 17 00:00:00 2001 From: Dylan Turner Date: Wed, 16 Nov 2022 11:29:58 -0600 Subject: [PATCH] Patch to properly support Python 3.8 (#23) * settings.py: switched to importing tuple type to support python 3.8 * pyproject.toml: bumped version number --- bgrm/settings.py | 3 ++- pyproject.toml | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/bgrm/settings.py b/bgrm/settings.py index fba1362..eab32da 100644 --- a/bgrm/settings.py +++ b/bgrm/settings.py @@ -1,6 +1,7 @@ # Author: Dylan Turner # Description: Keep app settings in one place +from typing import Tuple from dataclasses import dataclass from argparse import ArgumentParser from subprocess import run, PIPE @@ -13,7 +14,7 @@ class AppSettings: screen_height: int view_scale: float rm_thresh: float - fill_color: tuple[float, float, float] + fill_color: Tuple[float, float, float] bg_img: str blur: bool disable_win: bool diff --git a/pyproject.toml b/pyproject.toml index 844b651..c9a3bd0 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [tool.poetry] name = "bgrm" -version = "9" +version = "10" description = "Remove backgrounds from video feeds in your web cam applications." authors = [ "Dylan Turner " ] license = "GPL-3.0-only"