Skip to content

Commit

Permalink
Try root path
Browse files Browse the repository at this point in the history
  • Loading branch information
Ebag333 committed Oct 25, 2016
1 parent 26a1387 commit df038c9
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions bot/messenger.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,10 +25,11 @@ def print_my_path():
class Messenger(object):
def __init__(self, slack_clients):
self.clients = slack_clients
root_path = getcwd()

#EOS stuff
data_handler = JsonDataHandler('.\json_data') # Folder with Phobos data dump
cache_handler = JsonCacheHandler('.\json_data\eos_tq.json.bz2')
data_handler = JsonDataHandler(root_path+'/json_data') # Folder with Phobos data dump
cache_handler = JsonCacheHandler(root_path+'/json_data/eos_tq.json.bz2')
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 df038c9

Please sign in to comment.