X-Git-Url: http://iramuteq.org/git?p=iramuteq;a=blobdiff_plain;f=tools.py;h=669337b548f5296f800066bfea5f34c14df6736d;hp=307439f7674989a53bf01d30914c5303983d3bb6;hb=eb6087e90df00aee22d69cada9ef473331e85344;hpb=889c0c759bd1a27a90cbf0a1bbb3f080ab293aaf diff --git a/tools.py b/tools.py index 307439f..669337b 100644 --- a/tools.py +++ b/tools.py @@ -58,10 +58,12 @@ class Extract : ExtractMods(parametres) elif option == 'them' : SplitFromThem(parametres) - dial.Destroy() - dial = wx.MessageDialog(parent, 'Done !', style = wx.OK) - dial.ShowModal() - dial.Destroy() + dial.Destroy() + dial = wx.MessageDialog(parent, 'Done !', style = wx.OK) + dial.ShowModal() + dial.Destroy() + else : + dial.Destroy() class SplitFromVar : def __init__(self, parametres) : @@ -212,3 +214,4 @@ def converttabletocorpus(table, fileout, enc='UTF8') : if __name__ == '__main__' : #SplitFromVar(parametres) ExtractMods(parametres, True) + #end