libjam 0.0.3__py3-none-any.whl → 0.0.4__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
libjam/notebook.py CHANGED
@@ -8,15 +8,9 @@ drawer = Drawer()
8
8
  # Deals with configs and reading/writing files
9
9
  class Notebook:
10
10
 
11
- def __init__(self):
12
- # Pre-requisites
13
- script_folder = os.path.dirname(os.path.realpath(__file__))
14
- script_folder = drawer.get_parent(script_folder)
15
- self.config_template_file = f"{script_folder}/config.toml.in"
16
-
17
11
  # Checking if config exists, and creating one if it does not
18
- def check_config(self, config_file: str):
19
- config_template = open(self.config_template_file, 'r').read()
12
+ def check_config(self, config_template_file: str, config_file: str):
13
+ config_template = open(config_template_file, 'r').read()
20
14
  config_folder = drawer.get_parent(config_file)
21
15
  if drawer.is_folder(config_folder) is False:
22
16
  drawer.make_folder(config_folder)
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: libjam
3
- Version: 0.0.3
3
+ Version: 0.0.4
4
4
  Summary: A library jam for Python.
5
5
  Project-URL: Homepage, https://github.com/philippkosarev/libjam
6
6
  Project-URL: Issues, https://github.com/philippkosarev/libjam/issues
@@ -3,9 +3,9 @@ libjam/captain.py,sha256=igx-ecKJBI_vBN-pW7KmSEnmYMIHQEb9tFzpy5qHmI8,5636
3
3
  libjam/clipboard.py,sha256=5HxlO8ztLJPlnSCq4PncGvY4JGc9C4J2uHcepjC6zmg,3496
4
4
  libjam/drawer.py,sha256=6LHAKzsBrBMQYoN1GkToa_zcgQFCx4PjRXsUT4vnkQ8,11069
5
5
  libjam/flashcard.py,sha256=ulV4KPC3BRWLxwkQ87vsY0aM38nYpzOjUOISxTIRVDg,437
6
- libjam/notebook.py,sha256=VQ7Slq_xAahACvIdSMEfo1K7_IpOC-agYezCtKS2OW0,2773
6
+ libjam/notebook.py,sha256=Rtj-yHSWs342jnMXHUO_Ia1SDImRQRUdTIUk3e0kQ-4,2568
7
7
  libjam/typewriter.py,sha256=waKY1sDxGzI2ZT5dSzFmLGbaNTIpEM5Zhg_OlPFUAng,3730
8
- libjam-0.0.3.dist-info/METADATA,sha256=iirhJ4ZhtzMaVUYhSi6KbsYaoAML_e9H8CrOw-VyKDI,2001
9
- libjam-0.0.3.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
10
- libjam-0.0.3.dist-info/licenses/LICENSE,sha256=gXf5dRMhNSbfLPYYTY_5hsZ1r7UU1OaKQEAQUhuIBkM,18092
11
- libjam-0.0.3.dist-info/RECORD,,
8
+ libjam-0.0.4.dist-info/METADATA,sha256=geFthE21ylWthUTMgJ5tg0Ag_GXy2pYAUJ_MHJUEN3g,2001
9
+ libjam-0.0.4.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
10
+ libjam-0.0.4.dist-info/licenses/LICENSE,sha256=gXf5dRMhNSbfLPYYTY_5hsZ1r7UU1OaKQEAQUhuIBkM,18092
11
+ libjam-0.0.4.dist-info/RECORD,,
File without changes