Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit d6e0de7

Browse files
committed
Python3 compat
1 parent 80cb131 commit d6e0de7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

bin/msgflo-python

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ def load_module_file(filepath):
1717
modulename = os.path.basename(filepath)
1818
modulename = modulename.replace('.py', '')
1919
dirpath = os.path.dirname(filepath)
20-
print dirpath, modulename
20+
print(dirpath, modulename)
2121
sys.path.append(dirpath) # XXX: HACK
2222
module = importlib.import_module(modulename)
2323
return module

0 commit comments

Comments
 (0)