Skip to content

Commit c02ac1b

Browse files
committed
Fixing check continuos integration
1 parent 5acfa81 commit c02ac1b

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

libqfieldsync/utils/file_utils.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -255,6 +255,9 @@ def update_symbol_to_project_assets(
255255

256256
def update_symbol_path_assets(symbol):
257257
"""Updates the path of a symbol layer."""
258+
if symbol is None:
259+
return
260+
258261
for symbol_layer in symbol.symbolLayers():
259262
if isinstance(
260263
symbol_layer, (QgsSvgMarkerSymbolLayer, QgsRasterMarkerSymbolLayer)

0 commit comments

Comments
 (0)