Mercurial > libervia-web
diff src/pages/photos/page_meta.py @ 1113:cdd389ef97bc
server: code style reformatting using black
author | Goffi <goffi@goffi.org> |
---|---|
date | Fri, 29 Jun 2018 17:45:26 +0200 |
parents | 2e1f7e78b147 |
children |
line wrap: on
line diff
--- a/src/pages/photos/page_meta.py Sun Jun 24 22:21:25 2018 +0200 +++ b/src/pages/photos/page_meta.py Fri Jun 29 17:45:26 2018 +0200 @@ -4,13 +4,13 @@ from libervia.server.constants import Const as C from twisted.internet import defer -name = u'photos' +name = u"photos" access = C.PAGES_ACCESS_PROFILE template = u"photo/discover.html" @defer.inlineCallbacks def on_data_post(self, request): - jid_ = self.getPostedData(request, u'jid') - url = self.getPageByName(u'photos_album').getURL(jid_) + jid_ = self.getPostedData(request, u"jid") + url = self.getPageByName(u"photos_album").getURL(jid_) self.HTTPRedirect(request, url)