Merge pull request #170 from angelblue05/develop

Re-add texture to database discovery
This commit is contained in:
angelblue05 2019-01-21 07:06:27 -06:00 committed by GitHub
commit d27d6394f5
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -130,7 +130,7 @@ class Database(object):
''' '''
databases = obj.Objects().objects databases = obj.Objects().objects
if file not in ('video', 'music') or databases.get('database_set%s' % file): if file not in ('video', 'music', 'texture') or databases.get('database_set%s' % file):
return self._get_database(databases[file], True) return self._get_database(databases[file], True)
discovered = self._discover_database(file) if not databases.get('database_set%s' % file) else None discovered = self._discover_database(file) if not databases.get('database_set%s' % file) else None