Skip to content

Commit 9fe01d3

Browse files
.
1 parent 6b86e33 commit 9fe01d3

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

threebot_worker/daemon.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,8 @@ def start(self):
8383
"""
8484
# Check for a pidfile to see if the daemon already runs
8585
try:
86-
pf = file(self.pidfile, 'r')
86+
#pf = file(self.pidfile, 'r')
87+
pf = open(self.pidfile, 'r')
8788
pid = int(pf.read().strip())
8889
pf.close()
8990
except IOError:

0 commit comments

Comments
 (0)