- Defining global variable within function

This commit is contained in:
Ben Reaves
2020-05-02 10:40:27 -05:00
parent 670d948ab0
commit 7c0e22e33f

View File

@@ -47,6 +47,7 @@ def install_ibus():
sys.exit()
def setShortcuts():
global distro
distroVersion = cmdline("awk -F= '$1==\"VERSION_ID\" { print $2 ;}' /etc/os-release").replace('"','').strip()
print("\nIf Kinto is already running it will be stopped...")