summaryrefslogtreecommitdiff
path: root/friends.py
diff options
context:
space:
mode:
authorjomo <github@jomo.tv>2014-07-27 06:01:52 +0200
committerjomo <github@jomo.tv>2014-07-27 06:01:52 +0200
commitd58d975910b5840ec3119f52bfa42fbbc58fc038 (patch)
tree366ba20ea9c1edc9271261afda3a928e4bee751e /friends.py
parentefc3ee439ccdb0adad1544f32b60fa0bc0340bb6 (diff)
add default to open_json_file
Diffstat (limited to 'friends.py')
-rw-r--r--friends.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/friends.py b/friends.py
index ec1b89d..ce687cd 100644
--- a/friends.py
+++ b/friends.py
@@ -1,7 +1,7 @@
from helpers import *
friends_filename = "plugins/redstoner-utils.py.dir/files/friends.json"
-friends = open_json_file(friends_filename) # {Player_UUID:[List_of_friend_uuids]}
+friends = open_json_file(friends_filename, {}) # {Player_UUID:[List_of_friend_uuids]}
friend_join_sound = "random.orb"