Skip to content

Commit

Permalink
Refactor path variable name to class_path to keep the consistency
Browse files Browse the repository at this point in the history
  • Loading branch information
AnuGayan committed Apr 11, 2018
1 parent 414f445 commit fd5b374
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions PySiddhi4/SiddhiLoader.py
Original file line number Diff line number Diff line change
Expand Up @@ -36,14 +36,14 @@ def addExtensionPath():
:return:
'''
siddhi_home = os.getenv("SIDDHISDK_HOME")
path = siddhi_home.append("/lib/*")
class_path = siddhi_home.append("/lib/*")
if "siddhi_api_configured" in globals():
raise Exception("Cannot add extensions after loading library.")

if not "extensions" in globals():
globals()["extensions"] = []

globals()["extensions"].append(path)
globals()["extensions"].append(class_path)


def _resumeLibrary():
Expand Down

0 comments on commit fd5b374

Please sign in to comment.