Permalink
Browse files

Cleanup: Remove commented "if" + unindent

  • Loading branch information...
thp committed Mar 1, 2011
1 parent 02e501c commit 0e16d2f7c146cc37581ae8f327c29a3885df7d10
Showing with 8 additions and 9 deletions.
  1. +8 −9 src/panucci/main.py
View
@@ -535,15 +535,14 @@ def check_queue(self):
return True
def open_file_callback(self, widget=None):
#if self.check_queue():
# set __ingnore__queue_check because we already did the check
self.__ignore_queue_check = True
filename = get_file_from_filechooser(self.main_window)
if filename is not None:
self._play_file(filename)
self.__ignore_queue_check = False
# set __ingnore__queue_check because we already did the check
self.__ignore_queue_check = True
filename = get_file_from_filechooser(self.main_window)
if filename is not None:
self._play_file(filename)
self.__ignore_queue_check = False
def open_dir_callback(self, widget=None):
filename = get_file_from_filechooser(self.main_window, folder=True)
if filename is not None:

0 comments on commit 0e16d2f

Please sign in to comment.