Browse Source

Exit script when no available users returned after multi-check

Cammy 6 years ago
parent
commit
2553b4011d
1 changed files with 4 additions and 0 deletions
  1. 4 0
      pyinstalive/downloader.py

+ 4 - 0
pyinstalive/downloader.py

@@ -79,6 +79,10 @@ def start_multiple(instagram_api_arg, settings_arg, proc_arg):
 					log_info_blue('The process launching has been aborted by the user.')
 					log_seperator()				
 					sys.exit(0)
+		else:
+			log_info_green("There are currently no available livestreams or replays.")
+			log_seperator()
+			sys.exit(0)
 	except Exception as e:
 		log_error("Could not finish checking following users: {:s}".format(str(e)))
 		sys.exit(1)