diff --git a/headphones/versioncheck.py b/headphones/versioncheck.py index ff7372e4..fd79dca9 100644 --- a/headphones/versioncheck.py +++ b/headphones/versioncheck.py @@ -228,7 +228,7 @@ def update(): # Update version.txt try: ver_file = open(version_path, 'w') - ver_file.write(headphones.LATEST_VERSION) + ver_file.write(str(headphones.LATEST_VERSION)) ver_file.close() except IOError, e: logger.error("Unable to write current version to version.txt, update not complete: "+ex(e))