From 3f69c63638dbcda0433bf54bcc9f7c3969e0285b Mon Sep 17 00:00:00 2001 From: Q Date: Thu, 28 Sep 2023 08:50:04 +0300 Subject: [PATCH] longer scroll timer --- mirva/__init__.py | 2 +- mirva/mirva.py | 9 --------- mirva/resources/mirva.js | 27 +++++++++++++++------------ setup.cfg | 2 +- 4 files changed, 17 insertions(+), 23 deletions(-) diff --git a/mirva/__init__.py b/mirva/__init__.py index 78439ed..0fe40ab 100644 --- a/mirva/__init__.py +++ b/mirva/__init__.py @@ -1,4 +1,4 @@ -__version__ = "20230407.0" +__version__ = "20230928.0" def get_version(): diff --git a/mirva/mirva.py b/mirva/mirva.py index 9d20e03..e19d721 100755 --- a/mirva/mirva.py +++ b/mirva/mirva.py @@ -14,7 +14,6 @@ from tqdm import tqdm class Mirva: def __init__(self): - self.resource_src = os.path.join( os.path.dirname(os.path.abspath(__file__)), "resources" ) @@ -52,7 +51,6 @@ class Mirva: self.file_list = self.get_files() if self.run_commands["config"]: - self.write_resources() updated = self.create_config() if updated: @@ -70,7 +68,6 @@ class Mirva: print("Gallery written.") def create_config(self): - self.config = configparser.RawConfigParser() self.config.read(self.config_file) config_changed = False @@ -119,7 +116,6 @@ class Mirva: return config_changed def create_posts(self): - self.posts = [] for c in self.config: if c in self.file_list: @@ -219,7 +215,6 @@ class Mirva: } def get_index(self, posts): - return """