Skip to content

Commit

Permalink
refactor(ext_storage): remove initial of storage_runner to avoid None…
Browse files Browse the repository at this point in the history
… value checking

Signed-off-by: -LAN- <[email protected]>
  • Loading branch information
laipz8200 committed Dec 9, 2024
1 parent 96b02a0 commit b0ed867
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions api/extensions/ext_storage.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,6 @@


class Storage:
def __init__(self):
self.storage_runner = None

def init_app(self, app: Flask):
storage_factory = self.get_storage_factory(dify_config.STORAGE_TYPE)
with app.app_context():
Expand Down

0 comments on commit b0ed867

Please sign in to comment.