libjam 0.1.1__tar.gz → 0.1.2__tar.gz

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.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: libjam
3
- Version: 0.1.1
3
+ Version: 0.1.2
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
@@ -163,9 +163,9 @@ class Drawer:
163
163
 
164
164
  # Deletes a given file/folder.
165
165
  def delete_path(self, path: str) -> str:
166
- if self.is_file(file):
166
+ if self.is_file(path):
167
167
  remove_function = os.remove
168
- elif self.is_folder(folder):
168
+ elif self.is_folder(path):
169
169
  remove_function = shutil.rmtree
170
170
  path = realpath(path)
171
171
  remove_function(path)
@@ -11,7 +11,7 @@ include = [
11
11
 
12
12
  [project]
13
13
  name = "libjam"
14
- version = "0.1.1"
14
+ version = "0.1.2"
15
15
  authors = [
16
16
  { name="Philipp Kosarev", email="philipp.kosarev@gmail.com" },
17
17
  ]
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes