Skip to content

Commit

Permalink
RF: Remove basestring
Browse files Browse the repository at this point in the history
  • Loading branch information
skoudoro committed Jul 30, 2024
1 parent ec70bf1 commit 08d4948
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions fury/window.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,11 +32,6 @@
from fury.shaders.base import GL_NUMBERS as _GL
from fury.utils import asbytes

try:
_ = basestring # type: ignore
except NameError:
basestring = str


class Scene(OpenGLRenderer):
"""Your scene class.
Expand Down Expand Up @@ -1289,7 +1284,7 @@ def analyze_snapshot(
information about what was found in the current snapshot array ``im``.
"""
if isinstance(im, basestring):
if isinstance(im, str):
im = load_image(im)

class ReportSnapshot:
Expand Down

0 comments on commit 08d4948

Please sign in to comment.