1
0
mirror of https://github.com/wting/autojump synced 2026-03-02 03:49:26 +00:00
Files
wting_autojump/jumpapplet
Tom Parker c85f33d12e jumpapplet: load_path breaks without an earlier config file
When starting jumpapplet without an earlier config file, it raises an UnboundLocalError

tparker@shostakovich:[~/data/src/autojump] ./jumpapplet
loading settings
no config file
Traceback (most recent call last):
  File "./jumpapplet", line 93, in popup
    paths=load_paths(maxpath=defaults["maxpath"])
  File "./jumpapplet", line 54, in load_paths
    path_dict=path_dict.items()
UnboundLocalError: local variable 'path_dict' referenced before assignment

This patch fixes that

Signed-off-by: Pierre Gueth <georges.wbushjr@laposte.net>

Signed-off-by: Joel Schaerer <joelthelion@laposte.net>
2009-05-14 15:50:16 +08:00

8.8 KiB
Executable File