Skip to content

Commit

Permalink
Fixed modules
Browse files Browse the repository at this point in the history
  • Loading branch information
Haardik committed Jun 25, 2018
1 parent 2179148 commit 3774d68
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions run.py
Expand Up @@ -3,8 +3,8 @@
import sys
import time
import threading
import SimpleHTTPServer
import SocketServer
from http.server import SimpleHTTPRequestHandler
import socketserver
from letsencrypt import main as cli

cwd = os.getcwd()
Expand Down Expand Up @@ -45,8 +45,8 @@

os.chdir('host')

Handler = SimpleHTTPServer.SimpleHTTPRequestHandler
httpd = SocketServer.TCPServer(("", port), Handler)
Handler = SimpleHTTPRequestHandler
httpd = socketserver.TCPServer(("", port), Handler)

# Start a thread with the server
server_thread = threading.Thread(target=httpd.serve_forever)
Expand Down

0 comments on commit 3774d68

Please sign in to comment.