<s> from flask import url_for <EOL> from flaskcamel import app <EOL> import urlparse <EOL> def static ( path ) : <EOL> root = app . config . get ( '<STR_LIT>' ) <EOL> if root is None : <EOL> return url_for ( '<STR_LIT>' , filename = path ) <EOL> else : <EOL> return urlparse . urljoin ( root , path ) <EOL> @ app . context_processor <EOL> def context_processor ( ) : <EOL> return dict ( static = static ) </s>
