anvil-editor: init at 0.4
[NixPkgs.git] / pkgs / tools / audio / botamusique / unconditional-relative-state-paths.patch
blob3642a034fc88b6f3931c0ef0030f4a86b251e774
1 diff --git a/util.py b/util.py
2 index bfec1ed..0546772 100644
3 --- a/util.py
4 +++ b/util.py
5 @@ -22,16 +22,7 @@ log = logging.getLogger("bot")
8 def solve_filepath(path):
9 - if not path:
10 - return ''
12 - if path[0] == '/':
13 - return path
14 - elif os.path.exists(path):
15 - return path
16 - else:
17 - mydir = os.path.dirname(os.path.realpath(__file__))
18 - return mydir + '/' + path
19 + return path
22 def get_recursive_file_list_sorted(path):