def updateGameThread(game): updateGameTimes(game) if 'thread' not in game: log.error("No thread ID in game when trying to update") game['dirty'] = False threadText = getGameThreadText(game) reddit.editThread(game['thread'], threadText)
def updateGameThread(game): if game.thread is None: log.error("No thread ID in game when trying to update") game.dirty = False saveGameObject(game) threadText = renderGame(game) reddit.editThread(game.thread, threadText)