ChandimaPrabath commited on
Commit
50d4e85
·
1 Parent(s): 3c7938b

0.2.2 V Alpha

Browse files
Files changed (2) hide show
  1. Instance.py +1 -1
  2. app.py +1 -1
Instance.py CHANGED
@@ -16,7 +16,7 @@ download_progress = {}
16
 
17
  class Instance:
18
  def __init__(self, id, url, cache_dir, index_file, token, repo):
19
- self.version = "0.2.1 V Alpha"
20
  self.id = id
21
  self.url = url
22
  self.CACHE_DIR = cache_dir
 
16
 
17
  class Instance:
18
  def __init__(self, id, url, cache_dir, index_file, token, repo):
19
+ self.version = "0.2.2 V Alpha"
20
  self.id = id
21
  self.url = url
22
  self.CACHE_DIR = cache_dir
app.py CHANGED
@@ -38,7 +38,7 @@ def get_movie_api():
38
  if os.path.exists(cache_path):
39
  return send_from_directory(os.path.dirname(cache_path), os.path.basename(cache_path))
40
 
41
- movie_path = instance.find_movie_path(instance.file_structure, title)
42
 
43
  if not movie_path:
44
  return jsonify({"error": "Movie not found"}), 404
 
38
  if os.path.exists(cache_path):
39
  return send_from_directory(os.path.dirname(cache_path), os.path.basename(cache_path))
40
 
41
+ movie_path = instance.find_movie_path(title)
42
 
43
  if not movie_path:
44
  return jsonify({"error": "Movie not found"}), 404