File tree Expand file tree Collapse file tree 1 file changed +10
-8
lines changed Expand file tree Collapse file tree 1 file changed +10
-8
lines changed Original file line number Diff line number Diff line change 33
33
from plotly .version import __version__
34
34
from plotly .check_version import get_latest
35
35
36
- _latest = get_latest ()
37
-
38
- if __version__ != _latest :
39
- print ("Your version of Plotly is currently outdated,\n " +
40
- "You're currently running {}" .format (__version__ ) +
41
- ", while the latest version is {}" .format (_latest ))
42
- else :
43
- print ("Plotly {} is currently up to date" .format (__version__ ))
36
+ try :
37
+ _latest = get_latest ()
38
+ if __version__ != _latest :
39
+ print ("Your version of Plotly is currently outdated,\n " +
40
+ "You're currently running {}" .format (__version__ ) +
41
+ ", while the latest version is {}" .format (_latest ))
42
+ else :
43
+ print ("Plotly {} is currently up to date" .format (__version__ ))
44
+ except :
45
+ pass
You can’t perform that action at this time.
0 commit comments