Commit 6191c2af authored by Frede Hundewadt's avatar Frede Hundewadt Committed by GitHub

Update convertFn.py

fix formatting of console messages
parent 97454156
......@@ -81,11 +81,11 @@ def translate_interactive_to_pool(interactive_pool, mirror_pool, config):
})
except (KeyError, IndexError):
print("{} {}! The default pool is empty!".format(txt.WRN_CLR, txt.HOUSTON))
print(".: {} {}! The default pool is empty!".format(txt.WRN_CLR, txt.HOUSTON))
break
protocols = set()
except KeyError:
print("{} {}! The custom pool is empty!".format(txt.WRN_CLR, txt.HOUSTON))
print(".: {} {}! The custom pool is empty!".format(txt.WRN_CLR, txt.HOUSTON))
break
return custom_pool, mirror_list
......@@ -117,7 +117,7 @@ def translate_pool_to_interactive(mirror_pool):
"url": "{}{}".format(protocol, mirror_url)
})
except (KeyError, IndexError):
print("{} {}! The mirror pool is empty".format(txt.WRN_CLR, txt.HOUSTON))
print(".: {} {}! The mirror pool is empty".format(txt.WRN_CLR, txt.HOUSTON))
break
return interactive_list
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment