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