Skip to content

Commit 03ed4a0

Browse files
committed
use abspath for dictionary file
1 parent 79546e8 commit 03ed4a0

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

squid2radius.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
#!/usr/bin/python2
22

3+
import os
34
import sys
45
import argparse
56
import time
@@ -41,7 +42,7 @@
4142

4243
print "\nSetting up RADIUS server..."
4344
srv = Client(server=args.radius_server, secret=args.radius_secret,
44-
dict=Dictionary("dictionary"))
45+
dict=Dictionary(os.path.abspath("dictionary")))
4546

4647

4748
print "Sending..."

0 commit comments

Comments
 (0)