Run pyupgrade to Python 3.7+

This commit is contained in:
Stein Magnus Jodal 2020-03-08 12:30:14 +01:00
parent 008527f115
commit b067352a00
7 changed files with 13 additions and 16 deletions

View file

@ -1,5 +1,3 @@
from __future__ import unicode_literals
import os
from mopidy import ext, config
@ -18,7 +16,7 @@ class SubidyExtension(ext.Extension):
return config.read(conf_file)
def get_config_schema(self):
schema = super(SubidyExtension, self).get_config_schema()
schema = super().get_config_schema()
schema['url'] = config.String()
schema['username'] = config.String()
schema['password'] = config.Secret()