Skip to content

Commit

Permalink
Make STOMP listener expand vars in stomp url from config
Browse files Browse the repository at this point in the history
  • Loading branch information
eblade committed Aug 10, 2016
1 parent 92680af commit 67f0626
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion flow/source/stomp.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
import os

from ..needs import NeedsStomp
from ..base import EventBased

Expand Down Expand Up @@ -28,7 +30,7 @@ def start(self, message):
pass
"""
def __init__(self, stomp_url):
self.stomp_url = stomp_url
self.stomp_url = os.path.expandvars(stomp_url)
self.callback = None

def run(self):
Expand Down

0 comments on commit 67f0626

Please sign in to comment.