From 41db4e9469790a3b23522446390c36f9765ecae8 Mon Sep 17 00:00:00 2001 From: tholzheim Date: Wed, 27 Apr 2022 16:37:57 +0200 Subject: [PATCH] Fixes bug --- setup.py | 2 +- wikifile/wikiPage.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/setup.py b/setup.py index 201ac89..7c0d864 100644 --- a/setup.py +++ b/setup.py @@ -14,7 +14,7 @@ setup( name='wikirender', - version='0.0.40', + version='0.0.41', packages=['wikifile','templates','templates/macros', 'wikifile/resources/metamodel'], classifiers=[ 'Programming Language :: Python', diff --git a/wikifile/wikiPage.py b/wikifile/wikiPage.py index 43fb926..ec67d75 100644 --- a/wikifile/wikiPage.py +++ b/wikifile/wikiPage.py @@ -16,7 +16,7 @@ def __init__(self, wikiId:str, login:bool=True, debug:bool=False): """ self.debug=debug self.wikiId = wikiId - targetWikiId = self.wikiId if login else False + targetWikiId = self.wikiId if login else None self.wikiFileManager = WikiFileManager(sourceWikiId=self.wikiId, targetWikiId=targetWikiId, login=login) def updatePageWikiSON(self, pageTitle:str, wikiSonEntity:str, props:dict, updateMsg:str=None):