mirror of
https://github.com/galaxyproject/galaxy.git
synced 2026-10-24 12:13:33 +08:00
Fix uWSGI startup with separate ini file under Python 3
Ensure ``config_file`` is a Unicode string. Fix #7714.
This commit is contained in:
@@ -324,7 +324,7 @@ class UWSGIApplicationStack(MessageApplicationStack):
|
||||
parser = nice_config_parser(config_file)
|
||||
if not parser.has_section(config_section) and parser.has_section('app:main'):
|
||||
kwds['config_section'] = 'app:main'
|
||||
kwds['config_file'] = config_file
|
||||
kwds['config_file'] = unicodify(config_file)
|
||||
return kwds
|
||||
|
||||
@classmethod
|
||||
|
||||
Reference in New Issue
Block a user