Commit 97c10b3c authored by GustavoPeredo's avatar GustavoPeredo
Browse files

Important fix

parent 1359d865
......@@ -441,6 +441,8 @@ class FontdownloaderWindow(Handy.Window):
def checkForInstalledFonts(self, *args, **kwargs):
defaultPath = path.join(path.expanduser('~'), '.local/share/fonts') if self.settings.get_string('default-directory') == 'Default' else self.settings.get_string('default-directory')
if not path.exists(defaultPath):
onlyfiles = [f for f in listdir(defaultPath) if path.isfile(path.join(defaultPath, f))]
getrows = []
for i in webfontsData['items']:
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment