fixed small error in top_games.py

This commit is contained in:
janis
2022-05-06 17:47:39 +02:00
parent f03927fda8
commit d870e4fed6

View File

@@ -17,6 +17,7 @@ class TopGamesUpdater:
def updater(self):
self.__source = bin.lib.website_source_grabber.WebsiteSourceGrabber().grabber()
self.list_generator()
return self.__return_value
def list_generator(self):
while self.__go == 1:
@@ -36,7 +37,5 @@ class TopGamesUpdater:
except ValueError:
self.__go = 0
return self.__return_value
TopGamesUpdater().updater()
print(TopGamesUpdater().updater())