From 7a97b9c7a779aa7739e743770559ca7146ba6df3 Mon Sep 17 00:00:00 2001 From: Viljami Ilola <+@hix.fi> Date: Tue, 9 Apr 2024 01:54:49 +0300 Subject: use namespace package in imports --- src/sliceitoff/text/explode.py | 2 +- src/sliceitoff/text/text.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'src/sliceitoff/text') diff --git a/src/sliceitoff/text/explode.py b/src/sliceitoff/text/explode.py index 4925398..aca1489 100644 --- a/src/sliceitoff/text/explode.py +++ b/src/sliceitoff/text/explode.py @@ -3,7 +3,7 @@ from random import randrange import pygame -from display import Scaling +from sliceitoff.display import Scaling class ExplodingSprite(pygame.sprite.Sprite): """ Just adds exloding movement to the sprite """ diff --git a/src/sliceitoff/text/text.py b/src/sliceitoff/text/text.py index 69fee77..3dafa64 100644 --- a/src/sliceitoff/text/text.py +++ b/src/sliceitoff/text/text.py @@ -1,7 +1,7 @@ """ text.text - letters, texts and scaling and coloring of fonts """ import pygame -from display import Scaling, CGA_COLORS +from sliceitoff.display import Scaling, CGA_COLORS from .fonts import Fonts from .explode import ExplodingSprite -- cgit v1.2.3