Skip to content
This repository has been archived by the owner on Dec 4, 2020. It is now read-only.

Commit

Permalink
Ignore Python warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
bennuttall committed Oct 4, 2018
1 parent a29f2f4 commit a6f5a88
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 6 deletions.
7 changes: 3 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,6 @@ This installer will ensure you have the same software that's installed on the
Astro Pi units on the ISS, so you can test your code will work during the
mission.



## One-line installer

Open a terminal window and type:
Expand All @@ -27,5 +25,6 @@ Raspberry Pi and ESA branding, as well as some photos of the Astro Pi in space
and even some of our favourite photos taken by Astro Pi 2018 competition
winners!

To choose a background, right click on the desktop and choose "Change desktop
background" then...
To choose a background, right click on the desktop and choose **Desktop
Preferences**. Under **Picture** click the selected file and try changing it
to one of the other options.
4 changes: 2 additions & 2 deletions setup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ sudo pip3 install -qr requirements.txt

echo -e "\nTesting importing your Python packages..."

if python3 test.py; then
if python3 -W ignore test.py; then
echo -e "\nAll Python libraries imported ok\n"
else
echo -e "\nThere were errors with the Python libraries. See above for more information.\n"
Expand All @@ -69,7 +69,7 @@ fi
# Set Chromium homepage and bookmarks

if $desktop; then
echo -ne "\nSetting your Chromium homepage and bookmarks...\n"
echo -ne "Setting your Chromium homepage and bookmarks...\n"
python3 chromium.py
fi

Expand Down

0 comments on commit a6f5a88

Please sign in to comment.