Merge pull request #915 from pimutils/formatting

Make command bit more readable
This commit is contained in:
Hugo Osvaldo Barrera 2021-07-10 17:33:34 +02:00 committed by GitHub
commit f2a1afe6d3
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -48,14 +48,9 @@ def main(ical1_filename, ical2_filename):
KDIALOG,
"--warningyesnocancel",
"There was a sync conflict, do you prefer the first entry: \n"
+ get_summary(ical1)
+ "...\n(full contents: "
+ str(ical1_filename)
+ " )\n\nor the second entry: \n"
+ get_summary(ical2)
+ "...\n(full contents: "
+ str(ical2_filename)
+ " )?",
f"{get_summary(ical1)}...\n(full contents: {ical1_filename})\n\n"
"or the second entry:\n"
f"{get_summary(ical2)}...\n(full contents: {ical2_filename})?",
]
+ additional_args
)