do not let permissions on one ttbprc kill process
parent
a8f956110a
commit
925b56bd20
|
@ -373,7 +373,10 @@ def publishing(username=config.USER):
|
||||||
ttbprc = SETTINGS
|
ttbprc = SETTINGS
|
||||||
|
|
||||||
else:
|
else:
|
||||||
ttbprc = json.load(open(os.path.join("/home", username, ".ttbp", "config", "ttbprc")))
|
try:
|
||||||
|
ttbprc = json.load(open(os.path.join("/home", username, ".ttbp", "config", "ttbprc")))
|
||||||
|
except IOError:
|
||||||
|
return False
|
||||||
|
|
||||||
return ttbprc.get("publishing")
|
return ttbprc.get("publishing")
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue