Skip to content

Commit

Permalink
Merge pull request #8 from byt3smith/fix_for_issue_7
Browse files Browse the repository at this point in the history
Fix for issue 7
  • Loading branch information
Bobby Argenbright committed Apr 12, 2016
2 parents 5b62239 + 77509db commit 71c1d21
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions forager/cb_tools.py
Original file line number Diff line number Diff line change
Expand Up @@ -51,9 +51,9 @@ def run_feed_server():

def cb_gen(run_mode):
#cbfeed generator
#

feed_list = gen_feed_list()
print(getcwd())

# Check for data/cb/ dir
if path.isdir("cb/"):
pass
Expand Down Expand Up @@ -170,7 +170,7 @@ def get_feed_info(f):

# Find URL in feeds.py
try:
feedfile = open('../src/feeds.py', 'r').readlines()
feedfile = open('../forager/feeds.py', 'r').readlines()
except:
print((Fore.RED + '\n[-]' + Fore.RESET), end=' ')
print('Could not open file')
Expand All @@ -194,7 +194,7 @@ def get_feed_info(f):

if stat == 0:
print((Fore.YELLOW + '\n[*]' + Fore.RESET), end=' ')
print('Could not locate provider URL in feed module.. please provide it below:')
print('Provider URL for {}:'.format(f))
provider_url = input('> ')
else:
provider_url = result
Expand Down

0 comments on commit 71c1d21

Please sign in to comment.