[Alex V. Myltsev] toggle_ipython is already in GajimRemote.commands, no need to add it twice.
This commit is contained in:
parent
93149f6936
commit
b004a32df9
|
@ -283,13 +283,6 @@ class GajimRemote:
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
path = os.getcwd()
|
|
||||||
if '.svn' in os.listdir(path) or '_svn' in os.listdir(path):
|
|
||||||
# command only for svn
|
|
||||||
self.commands['toggle_ipython'] = [
|
|
||||||
_('Shows or hides the ipython window'),
|
|
||||||
[]
|
|
||||||
]
|
|
||||||
self.sbus = None
|
self.sbus = None
|
||||||
if self.argv_len < 2 or sys.argv[1] not in self.commands.keys():
|
if self.argv_len < 2 or sys.argv[1] not in self.commands.keys():
|
||||||
# no args or bad args
|
# no args or bad args
|
||||||
|
|
Loading…
Reference in New Issue