Browse Source

remove python 3.6 string formatting syntax

sisyphus
Dustin Falgout 8 years ago
parent
commit
c7111f308a
  1. 2
      web-greeter/greeter.py

2
web-greeter/greeter.py

@ -99,7 +99,7 @@ class WebGreeter(App):
self.config.greeter.update(greeter_config) self.config.greeter.update(greeter_config)
def load_theme(self): def load_theme(self):
theme_url = f'/{self.config.themes_dir}/{self.config.greeter.theme}/index.html' theme_url = '/{0}/{1}/index.html'.format(self.config.themes_dir, self.config.greeter.theme)
self._web_container.load(theme_url) self._web_container.load(theme_url)

Loading…
Cancel
Save