Skip to content

Commit d804695

Browse files
Remove aliases
Remove aliases for imported objects Bump package version
1 parent 09a27a4 commit d804695

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

qwiic_oled_base/qwiic_oled_base.py

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -61,8 +61,8 @@
6161

6262
import qwiic_i2c
6363

64-
from . import oled_fonts as disp_fonts
65-
from . import oled_logos as disp_logo
64+
from . import oled_fonts
65+
from . import oled_logos
6666

6767
# Define the device name and I2C addresses. These are set in the class defintion
6868
# as class variables, making them avilable without having to create a class instance.
@@ -180,7 +180,7 @@ def __init__(self, address=None, pixel_width = _LCDWIDTH, pixel_height = _LCDHEI
180180
self._screenbuffer = [0x00]*int(self.LCDWIDTH*self.LCDHEIGHT/8) #Screen Area in bytes (Total Pixels/8)
181181

182182
# Display SparkFun Logo
183-
disp_logo.add_logo(self._screenbuffer)
183+
oled_logos.add_logo(self._screenbuffer)
184184

185185
# Display ans Clear Page
186186
# self.display()
@@ -201,7 +201,7 @@ def __init__(self, address=None, pixel_width = _LCDWIDTH, pixel_height = _LCDHEI
201201
# self.fontData = None
202202
self._font = None
203203

204-
self.nFonts = disp_fonts.count()
204+
self.nFonts = oled_fonts.count()
205205

206206

207207
#--------------------------------------------------------------------------
@@ -859,7 +859,7 @@ def set_font_type(self, font_type):
859859
return False
860860

861861
self.fontType = font_type
862-
self._font = disp_fonts.get_font(font_type)
862+
self._font = oled_fonts.get_font(font_type)
863863
if self._font is None:
864864
return False
865865

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@
5252
# Versions should comply with PEP440. For a discussion on single-sourcing
5353
# the version across setup.py and the project code, see
5454
# http://packaging.python.org/en/latest/tutorial.html#version
55-
version='0.0.1',
55+
version='0.0.2',
5656

5757
description='SparkFun Electronics qwiic OLED Base package',
5858
long_description=long_description,

0 commit comments

Comments
 (0)