Skip to content
This repository was archived by the owner on May 16, 2019. It is now read-only.

Commit e649a30

Browse files
committed
Use platform specific datafolder path
1 parent 8cd0b10 commit e649a30

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

config.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,15 +15,15 @@
1515
PROTOCOL_VERSION = 14
1616
CONFIG_FILE = join(os.getcwd(), 'ob.cfg')
1717

18-
# FIXME probably a better way to do this. This curretly checks two levels deep
18+
# FIXME probably a better way to do this. This curretly checks two levels deep.
1919
for i in range(2):
2020
if not isfile(CONFIG_FILE):
2121
paths = CONFIG_FILE.rsplit('/', 2)
2222
CONFIG_FILE = join(paths[0], paths[2])
2323

2424
DEFAULTS = {
2525
# Default project config file may now remove these items
26-
'data_folder': 'OpenBazaar', # FIXME change to 'None' when issue #163 is resolved
26+
'data_folder': None,
2727
'ksize': '20',
2828
'alpha': '3',
2929
'transaction_fee': '10000',
@@ -91,7 +91,7 @@ def _platform_agnostic_data_folder(data_folder):
9191
name = join('Library', 'Application Support', 'OpenBazaar')
9292
elif _is_linux():
9393
name = '.openbazaar'
94-
else: # TODO add clauses for Windows, and BSD
94+
else:
9595
name = 'OpenBazaar'
9696

9797
return name

0 commit comments

Comments
 (0)