Commit a5f8b312 authored by Cédric Bellegarde's avatar Cédric Bellegarde

Check URI is not null

parent f6cef3b2
Pipeline #162431 failed with stage
in 33 seconds
......@@ -54,6 +54,9 @@ class StyleSheets(GObject.Object):
@param message as str
"""
uri = message.replace("@EOLIE_CSS_URI@", "")
if not uri:
self.emit("populated")
return
if uri in self.__stylesheets.keys():
self.__stylesheets[uri].set_started_time(started_time)
self.__check_populated()
......
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