We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f46ccc9 commit 34c1afdCopy full SHA for 34c1afd
src/romloader.py
@@ -44,7 +44,7 @@ def main():
44
try:
45
rompath = sys.argv[1]
46
except IndexError:
47
- print('We need a path to the ROM file to load.')
+ raise IndexError('We need a path to the ROM file to load.')
48
sys.exit(1)
49
filename = os.path.basename(rompath)
50
0 commit comments