From 7ba5b6ef94de4e5679fe03c8174613b468a7214f Mon Sep 17 00:00:00 2001 From: Jeremiah Ticket Date: Sun, 8 Dec 2019 06:41:35 -0900 Subject: [PATCH 1/2] Removed unneeded import subprocess --- libstormgames.py | 1 - 1 file changed, 1 deletion(-) diff --git a/libstormgames.py b/libstormgames.py index 596b1f2..bd74b66 100755 --- a/libstormgames.py +++ b/libstormgames.py @@ -27,7 +27,6 @@ except ImportError: print("No other speech providers found.") exit() -import subprocess import time localConfig = configparser.ConfigParser() From de9c64a58351ec7b9c89ec4fe862d7179fa281f1 Mon Sep 17 00:00:00 2001 From: Jeremiah Ticket Date: Sun, 8 Dec 2019 10:55:41 -0900 Subject: [PATCH 2/2] Fixed exit() not working --- libstormgames.py | 1 + 1 file changed, 1 insertion(+) diff --git a/libstormgames.py b/libstormgames.py index bd74b66..fe6f156 100755 --- a/libstormgames.py +++ b/libstormgames.py @@ -2,6 +2,7 @@ # -*- coding: utf-8 -*- """Standard initializations and functions shared by all games.""" +from sys import exit import configparser import os from os import listdir