Skip to content

Commit c5d3822

Browse files
committed
black format
1 parent e98ff13 commit c5d3822

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

src/blenderbim/blenderbim/bim/__init__.py

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -219,8 +219,8 @@ def register():
219219

220220
wm = bpy.context.window_manager
221221
if wm.keyconfigs.addon:
222-
km = wm.keyconfigs.addon.keymaps.new(name='Window', space_type='EMPTY')
223-
kmi = km.keymap_items.new('bim.switch_tab', 'TAB', 'PRESS', ctrl=True)
222+
km = wm.keyconfigs.addon.keymaps.new(name="Window", space_type="EMPTY")
223+
kmi = km.keymap_items.new("bim.switch_tab", "TAB", "PRESS", ctrl=True)
224224
addon_keymaps.append((km, kmi))
225225

226226
global icons
@@ -238,12 +238,14 @@ def register():
238238
global last_commit_hash
239239
try:
240240
import git
241+
241242
path = Path(__file__).resolve().parent
242243
repo = git.Repo(str(path), search_parent_directories=True)
243244
last_commit_hash = repo.head.object.hexsha
244245
except:
245246
pass
246247

248+
247249
def unregister():
248250
global icons
249251

0 commit comments

Comments
 (0)