Open self.css from absolute path
This commit is contained in:
parent
07df27fa48
commit
4ae6303053
|
@ -4,11 +4,11 @@ import sys
|
||||||
import argparse
|
import argparse
|
||||||
import cgi
|
import cgi
|
||||||
import tempfile
|
import tempfile
|
||||||
import os
|
import os.path
|
||||||
import threading
|
import threading
|
||||||
import time
|
import time
|
||||||
|
|
||||||
css = (open('self.css').read())
|
css = (open(os.path.join(os.path.dirname(__file__), 'self.css')).read())
|
||||||
|
|
||||||
|
|
||||||
# Python 2 vs Python 3 compat
|
# Python 2 vs Python 3 compat
|
||||||
|
|
Loading…
Reference in New Issue