Skip to content

Commit

Permalink
Merge pull request #11 from mherrmann/master
Browse files Browse the repository at this point in the history
Make compatible with fman 0.3.6
  • Loading branch information
kek91 authored Mar 19, 2017
2 parents d0ac273 + 0e8e365 commit 52e0981
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions statusbarextended/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ class StatusBarExtended(DirectoryPaneListener):

def refresh(self):

pane = self.pane.id
pane = self.pane.window.get_panes().index(self.pane)
statusbar_pane = ""

pane_show_hidden_files = load_json('Panes.json')[pane]['show_hidden_files']
Expand All @@ -41,7 +41,7 @@ def refresh(self):
continue

bc = ByteConverter(dir_filesize)
if(pane == self.pane.window.get_panes()[0].id):
if(self.pane == self.pane.window.get_panes()[0]):
statusbar_pane += "Pane: Left "
else:
statusbar_pane += "Pane: Right "
Expand Down

0 comments on commit 52e0981

Please sign in to comment.