Skip to content

Commit

Permalink
Removed newline in user agent due to reading the semver file.
Browse files Browse the repository at this point in the history
  • Loading branch information
tijme committed Jul 10, 2017
1 parent 0774502 commit d19ddbc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion nyawc/helpers/PackageHelper.py
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ def get_version():

try:
semver = open(folder + "/../../.semver", "r")
PackageHelper.__version = semver.read()
PackageHelper.__version = semver.read().rstrip()
semver.close()
return PackageHelper.__version
except:
Expand Down

0 comments on commit d19ddbc

Please sign in to comment.