Skip to content

Commit

Permalink
Fix the clear cache button
Browse files Browse the repository at this point in the history
  • Loading branch information
romainsacchi committed Oct 14, 2023
1 parent a0c9eda commit 7089db8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ab_plugin_scenariolink/layouts/tabs/right.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
from PySide2.QtCore import Qt
import brightway2 as bw
from typing import List, Tuple
from unfold import Unfold
from unfold.unfold import clear_cache

from activity_browser.layouts.tabs import PluginTab
from activity_browser.ui.style import horizontal_line, header
Expand Down Expand Up @@ -202,7 +202,7 @@ def __init__(self):

def clear_unfold_cache(self):
print('Clearing the unfold cache')
Unfold.clear_existing_cache()
clear_cache()

def import_state(self):

Expand Down

0 comments on commit 7089db8

Please sign in to comment.