Skip to content

Commit 565866b

Browse files
committed
fix: xdg_cache_home as a function call
1 parent e3c4517 commit 565866b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

geoinsight/core/tasks/analytics/create_road_network.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ def create_road_network(result_id):
6363
import osmnx
6464
from xdg_base_dirs import xdg_cache_home
6565

66-
osmnx.settings.cache_folder = xdg_cache_home / 'osmnx'
66+
osmnx.settings.cache_folder = xdg_cache_home() / 'osmnx'
6767

6868
result = TaskResult.objects.get(id=result_id)
6969
try:

0 commit comments

Comments
 (0)