Open self.css from absolute path
This commit is contained in:
parent
07df27fa48
commit
4ae6303053
|
@ -4,11 +4,11 @@ import sys
|
|||
import argparse
|
||||
import cgi
|
||||
import tempfile
|
||||
import os
|
||||
import os.path
|
||||
import threading
|
||||
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
|
||||
|
|
Loading…
Reference in New Issue