Forráskód Böngészése

Save the label file before exiting query mode, in case something changed

Stefan Schmidt 6 éve
szülő
commit
a45be9bd71
1 módosított fájl, 3 hozzáadás és 0 törlés
  1. 3 0
      code/Core/Controller.py

+ 3 - 0
code/Core/Controller.py

@@ -346,6 +346,9 @@ class Controller:
         readline.set_history_length(1000)
         readline.write_history_file(history_file)
 
+        # Save the label file, in case content has changed
+        self.label_manager.write_label_file(self.pcap_src_path)
+
     def create_statistics_plot(self, params: str, entropy: bool):
         """
         Plots the statistics to a file by using the given customization parameters.