mirror of
https://github.com/Noettore/fattureCCSR.git
synced 2025-10-15 11:46:39 +02:00
fattureCCSR-downloader: auto-open pdf after merge
Signed-off-by: Ettore Dreucci <ettore.dreucci@gmail.com>
This commit is contained in:
@@ -147,6 +147,7 @@ class FattureCCSRFrame(wx.Frame):
|
||||
def file_picker_changed(self, event):
|
||||
"""event raised when the input file path is changed"""
|
||||
self.input_file_path = event.GetEventObject().GetPath()
|
||||
#TODO: error frame
|
||||
try:
|
||||
self.input_file_ext = utils.file_extension(self.input_file_path, (".xml", ".csv", ".xlsx"))
|
||||
except exc.NoFileError as handled_exception:
|
||||
@@ -185,6 +186,7 @@ class FattureCCSRFrame(wx.Frame):
|
||||
return
|
||||
self.log_dialog = LogDialog(self, "Conversione delle fatture in TRAF2000", CONVERT_ACTION)
|
||||
self.log_dialog.Show()
|
||||
#TODO: error frame
|
||||
try:
|
||||
traf2000_converter.convert(self.input_file_path, self.output_file_path)
|
||||
except exc.NoFileError as handled_exception:
|
||||
|
Reference in New Issue
Block a user