We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 95edca1 commit b0b0792Copy full SHA for b0b0792
images/utils/launcher/config/config.py
@@ -979,8 +979,7 @@ def dump(self) -> None:
979
"""Dump xud-docker configurations as a JSON file in data_dir"""
980
services = []
981
config = {
982
- "timestamp": "%s" % datetime.now().timestamp(),
983
- "branch": self.branch,
+ "timestamp": "%s" % int(datetime.now().timestamp()),
984
"network": self.network,
985
"services": services,
986
}
@@ -1077,4 +1076,4 @@ def dump(self) -> None:
1077
1076
os.mkdir(data_dir)
1078
1079
with open(f, "w") as f:
1080
- f.write(json.dumps(config))
+ f.write(json.dumps(config, indent=4))
0 commit comments