04-06-2025_large_update #35
@@ -556,7 +556,7 @@ class Tunnel:
 | 
			
		||||
                try:
 | 
			
		||||
                    shutil.make_archive(wg_tar, "zip", AppConfig.TEMP_DIR)
 | 
			
		||||
                    with zipfile.ZipFile(f"{wg_tar}.zip", "r") as zf:
 | 
			
		||||
                        if len(zf.namelist()) != 0:
 | 
			
		||||
                        if zf.namelist():
 | 
			
		||||
 | 
			
		||||
                            LxTools.msg_window(
 | 
			
		||||
                                AppConfig.IMAGE_PATHS["icon_info"],
 | 
			
		||||
@@ -566,7 +566,7 @@ class Tunnel:
 | 
			
		||||
                            )
 | 
			
		||||
                        else:
 | 
			
		||||
                            logging.error(
 | 
			
		||||
                                f"There was a mistake at creating the Zip file. File is empty."
 | 
			
		||||
                                "There was a mistake at creating the Zip file. File is empty."
 | 
			
		||||
                            )
 | 
			
		||||
                            LxTools.msg_window(
 | 
			
		||||
                                AppConfig.IMAGE_PATHS["icon_error"],
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user