diff options
author | jomo <github@jomo.tv> | 2014-07-27 06:01:52 +0200 |
---|---|---|
committer | jomo <github@jomo.tv> | 2014-07-27 06:01:52 +0200 |
commit | d58d975910b5840ec3119f52bfa42fbbc58fc038 (patch) | |
tree | 366ba20ea9c1edc9271261afda3a928e4bee751e /friends.py | |
parent | efc3ee439ccdb0adad1544f32b60fa0bc0340bb6 (diff) |
add default to open_json_file
Diffstat (limited to 'friends.py')
-rw-r--r-- | friends.py | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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" |