Skip to content

Commit

Permalink
Update paths
Browse files Browse the repository at this point in the history
  • Loading branch information
Ebag333 committed Oct 25, 2016
1 parent df038c9 commit a7f3d8a
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions bot/messenger.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,11 +25,14 @@ def print_my_path():
class Messenger(object):
def __init__(self, slack_clients):
self.clients = slack_clients
root_path = getcwd()
json_path = getcwd()+'/json_data'
print ('JSON Path: '+json_path)
cache_path = json_path+'/eos_tq.json.bz2'
print('Cache Path: ' + cache_path)

#EOS stuff
data_handler = JsonDataHandler(root_path+'/json_data') # Folder with Phobos data dump
cache_handler = JsonCacheHandler(root_path+'/json_data/eos_tq.json.bz2')
data_handler = JsonDataHandler(json_path) # Folder with Phobos data dump
cache_handler = JsonCacheHandler(cache_path)
SourceManager.add('tiamat', data_handler, cache_handler, make_default=True)

skill_groups = set(row['groupID'] for row in data_handler.get_evegroups() if row['categoryID'] == 16)
Expand Down

0 comments on commit a7f3d8a

Please sign in to comment.