Skip to content

Commit ee60e6c

Browse files
authored
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
1 parent bcf2f23 commit ee60e6c

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

bgrm/settings.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
# Author: Dylan Turner
22
# Description: Keep app settings in one place
33

4+
from typing import Tuple
45
from dataclasses import dataclass
56
from argparse import ArgumentParser
67
from subprocess import run, PIPE
@@ -13,7 +14,7 @@ class AppSettings:
1314
screen_height: int
1415
view_scale: float
1516
rm_thresh: float
16-
fill_color: tuple[float, float, float]
17+
fill_color: Tuple[float, float, float]
1718
bg_img: str
1819
blur: bool
1920
disable_win: bool

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[tool.poetry]
22
name = "bgrm"
3-
version = "9"
3+
version = "10"
44
description = "Remove backgrounds from video feeds in your web cam applications."
55
authors = [ "Dylan Turner <dylantdmt@gmail.com>" ]
66
license = "GPL-3.0-only"

0 commit comments

Comments
 (0)