mirror of
https://github.com/rbreaves/kinto.git
synced 2025-08-03 17:46:39 +02:00
- Defining global variable within function
This commit is contained in:
1
setup.py
1
setup.py
@@ -47,6 +47,7 @@ def install_ibus():
|
|||||||
sys.exit()
|
sys.exit()
|
||||||
|
|
||||||
def setShortcuts():
|
def setShortcuts():
|
||||||
|
global distro
|
||||||
distroVersion = cmdline("awk -F= '$1==\"VERSION_ID\" { print $2 ;}' /etc/os-release").replace('"','').strip()
|
distroVersion = cmdline("awk -F= '$1==\"VERSION_ID\" { print $2 ;}' /etc/os-release").replace('"','').strip()
|
||||||
|
|
||||||
print("\nIf Kinto is already running it will be stopped...")
|
print("\nIf Kinto is already running it will be stopped...")
|
||||||
|
Reference in New Issue
Block a user