Skip to content

Commit

Permalink
tries fixing server
Browse files Browse the repository at this point in the history
  • Loading branch information
WolfgangFahl committed Aug 22, 2024
1 parent 73f2b10 commit 37f6b4c
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions skg/skgbrowser.py
Original file line number Diff line number Diff line change
Expand Up @@ -51,11 +51,10 @@ def configure_run(self):
self.wikiId = self.args.wikiId
wikidata = Wikidata()
self.sparql = wikidata.sparql
root_path = (
self.args.root_path
if self.args.root_path
else SkgBrowser.examples_path()
)
if hasattr(self.args, "root_path"):
self.root_path = self.args.root_path
else:
self.root_path = SkgBrowser.examples_path()

@classmethod
def examples_path(cls) -> str:
Expand Down

0 comments on commit 37f6b4c

Please sign in to comment.