CC-3779: Make Airtime more resilient to Ubuntu upgrades
This commit is contained in:
parent
2a7e87f2b8
commit
95a130bd90
1 changed files with 1 additions and 1 deletions
|
@ -88,7 +88,7 @@ try:
|
||||||
binary_path = os.path.join(PATH_LIQUIDSOAP_BIN, "liquidsoap_%s_%s" % (codename, arch))
|
binary_path = os.path.join(PATH_LIQUIDSOAP_BIN, "liquidsoap_%s_%s" % (codename, arch))
|
||||||
|
|
||||||
try:
|
try:
|
||||||
shutil.copy(binary_path, "%s/liquidsoap"%PATH_LIQUIDSOAP_BIN)
|
open(binary_path)
|
||||||
except IOError, e:
|
except IOError, e:
|
||||||
"""
|
"""
|
||||||
shutil.copy can throw this exception for two reasons. First reason is that it cannot open the source file.
|
shutil.copy can throw this exception for two reasons. First reason is that it cannot open the source file.
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue