From 50c4087a113e9d746b83ff8e696f70fd8f804856 Mon Sep 17 00:00:00 2001 From: Dan-in-CA Date: Mon, 30 Dec 2019 10:10:29 -0800 Subject: [PATCH] More cleanup --- _thread/__init__.py | 10 ---------- webpages.py | 1 - 2 files changed, 11 deletions(-) delete mode 100644 _thread/__init__.py diff --git a/_thread/__init__.py b/_thread/__init__.py deleted file mode 100644 index 9f2a51c7..00000000 --- a/_thread/__init__.py +++ /dev/null @@ -1,10 +0,0 @@ -from __future__ import absolute_import -import sys -__future_module__ = True - -if sys.version_info[0] < 3: - from thread import * -else: - raise ImportError('This package should not be accessible on Python 3. ' - 'Either you are trying to run from the python-future src folder ' - 'or your installation of python-future is corrupted.') diff --git a/webpages.py b/webpages.py index a7a907f4..042b50f2 100644 --- a/webpages.py +++ b/webpages.py @@ -525,7 +525,6 @@ def GET(self): qdict = web.input() pnum = int(qdict[u"pid"]) + 1 # program number cp = json.loads(qdict[u"v"]) - print("cp: ", cp) if cp[u"enabled"] == 0 and pnum == gv.pon: # if disabled and program is running for i in range(len(gv.ps)): if gv.ps[i][0] == pnum: