diff --git a/modules/Classes/Config.py b/modules/Classes/Config.py index 418788c..4b8a710 100644 --- a/modules/Classes/Config.py +++ b/modules/Classes/Config.py @@ -83,8 +83,8 @@ class Config: def has_been_updated(self): with open('/app/MsRewards-Reborn/version', "r") as inFile: - if self.version != inFile.readline(): - self.version = inFile.readline() + if self.version != inFile.readlines()[0]: + self.version = inFile.readlines()[0] with open('/app/MsRewards-Reborn/user_data/version', "w") as outFile: outFile.write(self.version) return True