Skip to content

Commit

Permalink
Fixed syntax error in full_gui
Browse files Browse the repository at this point in the history
  • Loading branch information
Greg Blumberg committed Jan 10, 2019
1 parent b2d7f1d commit 33e44e9
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions runsharp/full_gui.py
Original file line number Diff line number Diff line change
Expand Up @@ -73,11 +73,6 @@
logging.info("Python version: " + str(platform.python_version()))
logging.info("Qt version: " + str(PySide.QtCore.__version__))

if latest[0] is False:
logging.info("A newer release of SHARPpy was found on Github Releases.")
else:
logging.info("This is the most recent version of SHARPpy.")

# from sharppy._version import __version__#, __version_name__

__version_name__ = ''
Expand Down Expand Up @@ -1097,6 +1092,11 @@ def main():
# Check to see if there's a newer version of SHARPpy on Github Releases
latest = check_latest()

if latest[0] is False:
logging.info("A newer release of SHARPpy was found on Github Releases.")
else:
logging.info("This is the most recent version of SHARPpy.")

# Alert the user that there's a newer version on Github (and by extension through CI also on pip and conda)
if latest[0] is False:
newerRelease(latest)
Expand Down

0 comments on commit 33e44e9

Please sign in to comment.