From 7ddbed96bc1facdaa14ea547e501d808f885ddc0 Mon Sep 17 00:00:00 2001 From: ruidajo Date: Thu, 9 Jun 2022 15:18:07 -0500 Subject: [PATCH] Modifying templates test and installation --- .../NitterUser.class/instance/exportStaticWebReport.st | 2 +- Socialmetrica.package/NitterUser.class/instance/hasTemplates.st | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Socialmetrica.package/NitterUser.class/instance/exportStaticWebReport.st b/Socialmetrica.package/NitterUser.class/instance/exportStaticWebReport.st index a0cd0ee..4400ad8 100644 --- a/Socialmetrica.package/NitterUser.class/instance/exportStaticWebReport.st +++ b/Socialmetrica.package/NitterUser.class/instance/exportStaticWebReport.st @@ -2,5 +2,5 @@ accessing exportStaticWebReport self hasTemplates - ifTrue: [ self installTemplate ]. + ifFalse: [ self installTemplate ]. ^ self exportWithTemplate: (TweetsCollection dataStore / 'templates' / 'index.mus.html') into: self folder \ No newline at end of file diff --git a/Socialmetrica.package/NitterUser.class/instance/hasTemplates.st b/Socialmetrica.package/NitterUser.class/instance/hasTemplates.st index 29be008..74cb554 100644 --- a/Socialmetrica.package/NitterUser.class/instance/hasTemplates.st +++ b/Socialmetrica.package/NitterUser.class/instance/hasTemplates.st @@ -1,6 +1,6 @@ accessing hasTemplates - + | templatesFolder | templatesFolder :=(TweetsCollection dataStore / 'templates' ). ^ templatesFolder exists and: [ templatesFolder children isNotEmpty ] \ No newline at end of file