We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents d9cac41 + 2d03c52 commit 88d9b33Copy full SHA for 88d9b33
PyPortal_GithubStars/stars.py
@@ -47,7 +47,7 @@
47
print("New star!")
48
pyportal.play_file(cwd+"/coin.wav")
49
last_value = value
50
- except RuntimeError as e:
+ except (ValueError, RuntimeError) as e:
51
print("Some error occured, retrying! -", e)
52
53
time.sleep(60) # wait a minute before getting again
PyPortal_TwitterFollowers/twitter.py
@@ -41,7 +41,7 @@
41
print("New follower!")
42
pyportal.play_file(cwd+"/coin.wav") # uncomment make a noise!
43
44
45
46
0 commit comments