Merge pull request #93 from moreati/import-snake-plissken

Use Python 2.4 compatible module import
pull/94/head
dw 7 years ago committed by GitHub
commit f633533971
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -99,7 +99,7 @@ def main(log_level='INFO'):
def wrapper(func):
if func.__module__ != '__main__':
return func
from . import utils
from mitogen import utils
utils.log_to_file(level=log_level)
return utils.run_with_router(func)
return wrapper

Loading…
Cancel
Save