initial testnet support (petrkr)
This commit is contained in:
@@ -76,6 +76,9 @@ class SimpleConfig(PrintError):
|
||||
if path is None:
|
||||
path = self.user_dir()
|
||||
|
||||
if self.get('testnet'):
|
||||
path = os.path.join(path, 'testnet')
|
||||
|
||||
# Make directory if it does not yet exist.
|
||||
if not os.path.exists(path):
|
||||
if os.path.islink(path):
|
||||
|
||||
Reference in New Issue
Block a user