Skip to content

local variable 'url' referenced before assignment #2

@bootsmann

Description

@bootsmann

Traceback (most recent call last):
File "/usr/local/lib/python2.7/dist-packages/bottle.py", line 744, in _handle
return route.call(*_args)
File "/usr/local/lib/python2.7/dist-packages/bottle.py", line 1528, in wrapper
self.trigger('before_request')
File "/usr/local/lib/python2.7/dist-packages/bottle.py", line 1523, in trigger
return [hook(_a, **ka) for hook in hooks]
File "/usr/local/lib/python2.7/dist-packages/bottle_sslify.py", line 27, in https_redirect
redirect(url, code=code)
UnboundLocalError: local variable 'url' referenced before assignment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions