Skip to content

Commit 939e496

Browse files
committed
Change makeDockAppSpacer type to tile_type
1 parent 753b83d commit 939e496

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

docklib/docklib.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -235,12 +235,12 @@ def replaceDockEntry(
235235
if found_index > -1:
236236
self.items[section][found_index] = newitem
237237

238-
def makeDockAppSpacer(self, type="spacer-tile"):
238+
def makeDockAppSpacer(self, tile_type="spacer-tile"):
239239
"""Makes an empty space in the Dock."""
240-
if type not in ["spacer-tile", "small-spacer-tile"]:
241-
msg = f"{type}: invalid makeDockAppSpacer type."
240+
if tile_type not in ["spacer-tile", "small-spacer-tile"]:
241+
msg = f"{tile_type}: invalid makeDockAppSpacer type."
242242
raise ValueError(msg)
243-
result = {"tile-data": {}, "tile-type": type}
243+
result = {"tile-data": {}, "tile-type": tile_type}
244244

245245
return result
246246

0 commit comments

Comments
 (0)